Skip to main content

Authentication Method

OAuth App Setup

Step 1: Create a Strava App

  1. Log in to Strava
  2. Go to strava.com/settings/api
  3. Fill in the app details:
    • Application Name: Your app name
    • Category: Choose an appropriate category
    • Website: Your website URL
    • Authorization Callback Domain: localhost (for development)
  4. Click Create

Step 2: Get Your Credentials

After creating the app, you’ll see:
  • Client ID
  • Client Secret

Step 3: Store Credentials

pnpm corsair setup --plugin=strava client_id=your-client-id client_secret=your-client-secret

Step 4: Authorize

pnpm corsair auth --plugin=strava
This opens a browser window to complete the Strava OAuth flow. Tokens are saved automatically.

Required Credentials Summary

CredentialRequired ForWhere to Find
Client IDOAuth flowStrava API settings
Client SecretOAuth flowStrava API settings
For general information about how Corsair handles authentication, see Authentication.