Dealing with Strava API OAuth Token Migration

1 · Daniel Doubrovkine (dB.) @dblockdotorg · Nov. 17, 2018, midnight
Strava has recently announced changes to the Strava OAuth flow. On October 15, 2019 all applications using the old flow will stop working. In short, long lived tokens are no longer supported and you must obtain a refresh token that gives you a short-lived access token. As long as you are holding a valid access token you may be getting a newer refresh token, too. On the plus side, short lived tokens are good for security, since a leaked access token expires quickly. Refresh tokens are good for se...