fix(auth): restore BetterAuth OIDC flow across api/web/compose
This commit is contained in:
@@ -191,7 +191,7 @@ Authorization: Bearer {session_token}
|
||||
OAuth callback handler for Authentik (and other OIDC providers).
|
||||
|
||||
```http
|
||||
GET /auth/callback/authentik
|
||||
GET /auth/oauth2/callback/authentik
|
||||
```
|
||||
|
||||
**Query Parameters:**
|
||||
@@ -226,7 +226,7 @@ This endpoint is called by the OIDC provider after successful authentication.
|
||||
1. User clicks "Sign in with Authentik"
|
||||
2. Frontend redirects to Authentik
|
||||
3. User authenticates with Authentik
|
||||
4. Authentik redirects to /auth/callback/authentik
|
||||
4. Authentik redirects to /auth/oauth2/callback/authentik
|
||||
5. Server exchanges code for tokens
|
||||
6. Server creates/updates user
|
||||
7. Server creates session
|
||||
|
||||
Reference in New Issue
Block a user