Hello,
I have developed a web app. It requires people to connect with Strava. The current flow is the following: when the users click on "Connect with Strava", I redirect them to https://www.strava.com/oauth/authorize with all the query parameters. It works fine on mobile and desktop browsers.
I'm now looking to implement another flow when users are using my web app on their mobile phone. I want to open the Strava app instead of the Strava web version when the user has the Strava app installed. For this, I'm following the guidelines here: https://developers.strava.com/docs/authentication/
On iOS, I redirect the users to strava://oauth/mobile/authorize (with the exact same query parameters than my current working flow with the Strava web version). It properly opens the Strava app on the iOS device, but right after (approx. 1 second), it redirects the user back to the redirect_uri (which is my web app) without letting him give his consent.
Could this be caused because my app is a web app and not an installed iOS app on my users' devices? Or am I missing something with the query paramaters?
Thanks a lot,
Marc