OAuth (Google & Facebook)
Flows
| Provider | Start | Callback |
|---|---|---|
GET /auth/google | GET /auth/google/callback | |
GET /auth/facebook | GET /auth/facebook/callback |
Environment Variables
| Variable | Description |
|---|---|
CALLBACK_URL | Base redirect URL |
GOOGLE_CALLBACK_URL | Full Google redirect URL (overrides base) |
FACEBOOK_CALLBACK_URL | Full Facebook redirect URL (overrides base) |
GOOGLE_SCOPES_EXTRA | Optional additional scopes |
FACEBOOK_SCOPES_EXTRA | Optional additional scopes |
Diagnostics
/health/providers reports:
{
"oauth": {
"googleEnabled": true,
"facebookEnabled": true
}
}