Steps
-
Log in to Strava
- Go to https://www.strava.com and sign in
-
Navigate to the API Settings
- Go to https://www.strava.com/settings/api
- Click Create & Manage Your Apps
- Click Create Application
-
Register Your OAuth App
- Fill in the required fields:
- App Name: A recognizable name for your app
- Website: Your website or app URL
- Callback Domain: Must match the domain of your redirect URI
- Fill in the required fields:
-
Configure the Redirect URI
- Set your callback domain/URI correctly
- Must be
https, no trailing slash
-
Get OAuth Credentials
- After creation, Strava will display:
- Client ID
- Client Secret
- Copy and keep them secure
- To view later: go to Settings → My API Application
- After creation, Strava will display:
Key Details
- API Settings: https://www.strava.com/settings/api
- Auth Type: OAuth 2.0
- Authorization URL:
https://www.strava.com/oauth/authorize - Token URL:
https://www.strava.com/oauth/token - Base API URL:
https://www.strava.com/api/v3 - Credentials Location: Settings → My API Application
- Available Scopes:
read— Default access to profile and public dataread_all— Read all user data (including private)profile:read_all— Read detailed profileprofile:write— Update user profileactivity:read— Read public activity dataactivity:read_all— Read all activity data (including private)activity:write— Create/edit/delete activities