Skip to main content
Question

https://www,strava.com/oauth/authorize

  • November 5, 2025
  • 1 reply
  • 24 views

Forum|alt.badge.img

在android app 中引导用户去授权  https://www.strava.com/oauth/authorize   

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))
startActivityForResult(intent, 100)

当用户点击授权后没有回调到app中获取code,请问如何解决,谢谢!  

1 reply

Jana_S
Superuser
Forum|alt.badge.img+29
  • Superuser
  • November 10, 2025

Google translate:

 

In an Android app, I'm guiding the user to authorize access via https://www.strava.com/oauth/authorize.

The code is: 

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))
startActivityForResult(intent, 100)

However, after the user clicks "authorize," there's no callback to the app to retrieve the authorization code. How can I resolve this? Thank you!


 

Hi ​@coolwear,

The documentation that you might need is here:

https://developers.strava.com/docs/authentication/
 

If it doesn't solve the problem, it would be good if you ask in English, so that someone familiar with the issue can help you.