cancel
Showing results for 
Search instead for 
Did you mean: 

strava oauth approval_prompt

Dilhan973
Shkhara

Hello, I have a problem with strava authentication. When the user logs in for the first time everything goes well. However, during subsequent connections it still requires authorization to connect to the Strava account instead of directly connecting it to my application. The approval_prompt parameter is of course "auto". I don't see where the problem could be. Thanks in advance

1 ACCEPTED SOLUTION

Never mind, figured it out, You need to request the "read" scope as well. 
In my case:
Before: query.Add("scope", "activity:read");
After: query.Add("scope", "read,activity:read");

View solution in original post

11 REPLIES 11

Yes, I correctly entered the authorization domain but even in production, it asks me each time to authorize the application to access my Strava profile instead of connecting directly.

 

Here is mine - this is my url connection (button) https://www.strava.com/oauth/authorize?client_id=1921&response_type=code&scope=read,read_all,activit... change your client_id & scopes as I have both read & write and also your redirect url to point to your page, from there you have to process your tokens, I have shared some of my code.

lopey66_1-1701732912061.png

 

lopey66_3-1701733759235.png