11-25-2023 08:21 AM
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
Solved! Go to Solution.
12-04-2023 04:53 PM
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");
12-04-2023 06:05 AM
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.
12-04-2023 03:52 PM
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.
Welcome to the Community - here is your guide to help you get started!