cancel
Showing results for 
Search instead for 
Did you mean: 

API scope

Amir10EA
Mt. Kenya

Im a new devloper and creating my first backend for a collage project, I would like to fetch data regarding from every user that uses my application. I have made an application to STRAVA, and gotten a read-scope, which cannot be used to fetch data from all my users. My question is if the following understanding is correct, can I access data from my users regarding their activities if they sign into my app using their Strava account through OAuth?
Thank you in advance!

2 REPLIES 2

QQQQF
Mt. Kenya

Hi, I'm a new developer as well. I want to get the data of several users and process it, but I see that only one person is allowed to connect. I wonder if it will affect the user's login and authorization to let me get the data?

ActivityFix
Mount Logan

When a user goes through the OAuth process on your app you request access for specific scope(s). In this case you would request a read scope. If the user approves/allows that, you can use the returned token to retrieve whatever data they gave you permission to access (e.g. activity:read would allow you to read all of their public activities). You must have a valid token to access the data - tokens expire after a short period of time.

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