fix(auth): restore BetterAuth OIDC flow across api/web/compose
This commit is contained in:
@@ -188,7 +188,7 @@ All components must follow TDD (tests first), achieve 85%+ coverage, and use PDA
|
||||
### Existing Auth Implementation (from Issue #4)
|
||||
|
||||
- BetterAuth is configured in the API (`apps/api/src/auth/`)
|
||||
- Endpoints: `/auth/callback/authentik`, `/auth/session`, `/auth/profile`
|
||||
- Endpoints: `/auth/oauth2/callback/authentik`, `/auth/session`, `/auth/profile`
|
||||
- Shared types available in `@mosaic/shared` package
|
||||
- Session-based auth with JWT tokens
|
||||
|
||||
@@ -313,7 +313,7 @@ Based on existing backend (from Issue #4):
|
||||
- `GET /auth/session` - Get current session
|
||||
- `GET /auth/profile` - Get user profile
|
||||
- `POST /auth/sign-out` - Logout
|
||||
- `GET /auth/callback/authentik` - OIDC callback (redirect from Authentik)
|
||||
- `GET /auth/oauth2/callback/authentik` - OIDC callback (redirect from Authentik)
|
||||
|
||||
### Tasks (to be implemented in future issue)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user