Skip to main content
Question

Deauthorize Expired Tokens with Maximized Athlete Capacity

  • June 11, 2026
  • 8 replies
  • 78 views

Forum|alt.badge.img+1

How can my app deauthorize stale users when my app capacity has been reached. Can the expired token still be refreshed so we can then send a “deauthorize” request for it? I need to free up some connections as we have reached our maximum capacity.

 

Please advise.

Thanks,

Elvin

8 replies

Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • June 11, 2026

Hi ​@LFwebapp , documentation about refreshing tokens is on https://developers.strava.com/docs/authentication/#refreshingexpiredaccesstokens


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • June 11, 2026

Hi ​@LFwebapp , documentation about refreshing tokens is on https://developers.strava.com/docs/authentication/#refreshingexpiredaccesstokens

Can access tokens be refreshed even if our api application capacity (max 9,999) is already reached?


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • June 11, 2026

As long as the user didn’t revoke the access and you still have the refresh token it can be refreshed. Whether the access token you have stored on your side are expired or not has no influence on Strava’s count of users for your app.


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • June 15, 2026

As long as the user didn’t revoke the access and you still have the refresh token it can be refreshed. Whether the access token you have stored on your side are expired or not has no influence on Strava’s count of users for your app.

Thank you. But if a user gets “deauthorized”, does the user get removed/deducted from the current count of users/athletes connected?


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • June 15, 2026

Yes, it does.


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • June 16, 2026

Is there a way for my to see who are currently connected to my API application? The dashboard only shows the number, for example below:

 


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • June 16, 2026

Yes, it does.

Today I connected an athlete who had successfully connected before and the “Number of athletes currently connected” did not increase. Then I deauthorized the same user immediately, and the “Number of athletes currently connected” also did not change.

Can you explain how this number is calculated or updated?

Thanks.


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • June 16, 2026

It can take some time like a day or two after deauthorizing an athlete until the count decreases. This was implemeted to prevent artifically using more users than granted by repeatingly deauthorizing one athlete and authorizing another in a short timeframe.