Skip to main content
Question

Console App with strava


Forum|alt.badge.img+3

Hello every body, i'm trying to create an App where a will agregate my sport data and i was wandering if the is a way to authenticate without being redirected(using a redirection link for getting the code).

Thank in advance

3 replies

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 948 replies
  • August 17, 2023

There is no other way but that isn't a problem because you can use any nonexistent callback url for the redirection. As described in the API documentation you can copy/paste the code from the redirected url in your browser adress bar, the content of that site (usually stating a failure) isn't of relevance.


Forum|alt.badge.img+3
  • Author
  • Hub Rookie
  • 1 reply
  • August 17, 2023

Thanks Logan, my goal was to automate the process so that it get the news data every morning without any human actions. but its seems like it's not yet possible


Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 948 replies
  • August 18, 2023

The redirection only happens when your app is authorized by the user. This is a one time task if you're the only user. Refreshing the bearer token doesn't involve redirections.


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