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.
GitHub
Section titled “GitHub”- Create a GitHub OAuth App
- Set the authorization callback URL to
https://your-host/api/auth/github/callback - Configure via environment variables or
config.toml:
CLAUDIO_GITHUB_CLIENT_ID=your_client_idCLAUDIO_GITHUB_CLIENT_SECRET=your_client_secretCLAUDIO_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"- Create OAuth credentials in the Google Cloud Console
- Add
https://your-host/api/auth/google/callbackas an authorized redirect URI - Configure:
CLAUDIO_GOOGLE_CLIENT_ID=your_client_idCLAUDIO_GOOGLE_CLIENT_SECRET=your_client_secretCLAUDIO_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"