Skip to main content
Question

Clearing no longer referenced athletes


Forum|alt.badge.img+3

With the newly introduced per app athlete limit its clear around 15% of our athlete tokens are orphaned. Is there any way to clear these down? We're quite happy to cycle through all the valid tokens and make a "hey this one is still in use" poke to an API call 🙂

Thanks

 

2 replies

ActivityFix
Superuser
Forum|alt.badge.img+24
  • Superuser
  • 241 replies
  • June 27, 2023

What do you mean by orphaned?

I suspect the problem you are running in to is with athletes who authorize your app and then stop using it without revoking access. From your point of view those tokens are no longer in use but since the athlete still has your app connected in their account, Strava considers them as a user. With the app still connected to their account that athlete could potentially come back and begin using your app again without having to authorize it, so unfortunately there isn't much you can do. There's no API call which allows you to remove an athlete from your app so you're stuck with either requesting a limit increase or hoping they some day revoke authorization.


Forum|alt.badge.img+3
  • Author
  • Hub Rookie
  • 3 replies
  • June 28, 2023

That is also my understanding - current when a user disconnects we we try to process a revoke against Strava, but that was not always the case, and if there is an issue with that revoke we drop it rather than hold stuff up.

I was interested to know if Strava had a mechanism (or any plans to implement one) to allow an app to clean up these orphaned tokens


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings