cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically acquire athlete's authorization code?

lemjimeno
Mt. Kenya

I have an app where I would like to get the ytd_run_totals of each member in my club. In order to do this, I understand each club member is supposed to authorize my app to be able to read their data. When the user clicks authorize and the athlete's authorization code is displayed in the proceeding url, is there a way to obtain this code programmatically? Or is the only way to obtain it by having the user communicate this to the developer? 

1 ACCEPTED SOLUTION

veloek
Shkhara

Your web-server handling the redirect from Strava should process the authorization code (i.e. exchange it for access/refresh tokens) and then redirect the user to your app.

View solution in original post

1 REPLY 1

veloek
Shkhara

Your web-server handling the redirect from Strava should process the authorization code (i.e. exchange it for access/refresh tokens) and then redirect the user to your app.