Skip to main content
Solved

Programmatically acquire athlete's authorization code?

  • December 8, 2023
  • 1 reply
  • 12 views

Forum|alt.badge.img+1

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? 

Best answer by veloek

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 original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+6
  • Hub Rookie
  • 9 replies
  • Answer
  • December 8, 2023

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.


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