mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
fix(mana-core-auth): exclude /api/auth/get-session from global prefix
The get-session endpoint needs to be accessible at /api/auth/get-session (without the /api/v1 prefix) for SSO to work. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
95e9b3764d
commit
d64016d1e5
1 changed files with 2 additions and 1 deletions
|
|
@ -109,7 +109,8 @@ async function bootstrap() {
|
|||
{ path: 'health', method: RequestMethod.ALL },
|
||||
// OIDC login page
|
||||
{ path: 'login', method: RequestMethod.ALL },
|
||||
// Better Auth routes (verification emails, password reset, sign-in)
|
||||
// Better Auth routes (verification emails, password reset, sign-in, SSO)
|
||||
{ path: 'api/auth/get-session', method: RequestMethod.ALL },
|
||||
{ path: 'api/auth/verify-email', method: RequestMethod.ALL },
|
||||
{ path: 'api/auth/reset-password/(.*)', method: RequestMethod.ALL },
|
||||
{ path: 'api/auth/sign-in/(.*)', method: RequestMethod.ALL },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue