Skip to content

OAuth Providers

Claudio supports GitHub and Google login out of the box. If a provider is not fully configured, its login button is hidden from the UI.

  1. Create a GitHub OAuth App
  2. Set the authorization callback URL to https://your-host/api/auth/github/callback
  3. Configure via environment variables or config.toml:
Terminal window
CLAUDIO_GITHUB_CLIENT_ID=your_client_id
CLAUDIO_GITHUB_CLIENT_SECRET=your_client_secret
CLAUDIO_GITHUB_REDIRECT_URI=https://your-host/api/auth/github/callback
[auth.github]
client_id = "your_client_id"
client_secret = "your_client_secret"
redirect_uri = "https://your-host/api/auth/github/callback"
  1. Create OAuth credentials in the Google Cloud Console
  2. Add https://your-host/api/auth/google/callback as an authorized redirect URI
  3. Configure:
Terminal window
CLAUDIO_GOOGLE_CLIENT_ID=your_client_id
CLAUDIO_GOOGLE_CLIENT_SECRET=your_client_secret
CLAUDIO_GOOGLE_REDIRECT_URI=https://your-host/api/auth/google/callback
[auth.google]
client_id = "your_client_id"
client_secret = "your_client_secret"
redirect_uri = "https://your-host/api/auth/google/callback"