fix(auth): restore BetterAuth OIDC flow across api/web/compose
This commit is contained in:
@@ -166,7 +166,7 @@ To use the authentication system, configure these environment variables:
|
||||
OIDC_ISSUER=https://auth.example.com/application/o/mosaic-stack/
|
||||
OIDC_CLIENT_ID=your-client-id
|
||||
OIDC_CLIENT_SECRET=your-client-secret
|
||||
OIDC_REDIRECT_URI=http://localhost:3001/auth/callback
|
||||
OIDC_REDIRECT_URI=http://localhost:3001/auth/oauth2/callback/authentik
|
||||
|
||||
# JWT Session Management
|
||||
JWT_SECRET=change-this-to-a-random-secret-in-production
|
||||
@@ -186,7 +186,7 @@ BetterAuth provides these endpoints automatically:
|
||||
- `POST /auth/sign-up` - User registration
|
||||
- `POST /auth/sign-out` - Logout
|
||||
- `GET /auth/session` - Get current session
|
||||
- `GET /auth/callback/authentik` - OAuth callback handler
|
||||
- `GET /auth/oauth2/callback/authentik` - OAuth callback handler
|
||||
- `GET /auth/profile` - Get authenticated user profile (custom)
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user