Setup
Get credentials
Go to railway.com and navigate to Account Settings > Developer > OAuth Apps. Create an app and add your redirect URI:Scopes
Default scopes:read:profile, read:email
| Scope | What it unlocks |
|---|---|
read:profile | Read user profile |
read:email | Read email address |
read:projects | Read project list |
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /auth/oauth/authorize/railway | Redirect to Railway |
| GET | /auth/oauth/callback/railway | Handle callback |