I'm developing a Web site. The site offers users to connect to Strava. It works well. However, many of my users use the Strava app and don't even remember their credentials. I would like the oauth2 flow to use the Strava app, not the Strava site for approval. Is there a way to do it?
Ciao
The documentation states:
Android apps can use an Implicit Intent to redirect users to the
GET https://www.strava.com/oauth/mobile/authorize
endpoint. The Strava app should open automatically if the user has it installed.
This URL should work the same when using it from the browser.
Hi
First: thanks. It seems to work om my Android phone.
I tested it yesterday on a Table (Samsung) and it didn’t work as expected. I will try to review that again. Do you happen to know about a solution for iPhone?
Thanks again,
Ilan
For IOS you could use strava://oauth/mobile/authorize to open the app but note that it’s up to the browser to know how to handle appname:// links. Safari should know what to do and ask the user if they want to open the app but alternative browsers may open an internet search instead.
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.