mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 06:21:09 +02:00
The signIn() method only called the custom /api/v1/auth/login endpoint which returns JWT tokens but doesn't set a session cookie. Without the cookie, cross-subdomain SSO (trySSO) can never find an active session. Now also calls Better Auth's native /api/auth/sign-in/email with credentials:'include' after successful login, which sets the session cookie with Domain=.mana.how for cross-subdomain SSO. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adapters | ||
| clients | ||
| core | ||
| interceptors | ||
| types | ||
| index.ts | ||