managarten/services/mana-auth/src/routes
Till JS 8ffd2ce774 fix(mana-auth): add session-to-token endpoint and return JWT from login
The client (shared-auth) calls /api/v1/auth/session-to-token for SSO and
2FA flows, but this endpoint was never implemented. Also, the login endpoint
returned raw Better Auth session data instead of the expected
{ accessToken, refreshToken } format.

- Add POST /api/v1/auth/session-to-token endpoint
- Fix login to generate JWT via Better Auth's /api/auth/token
- Fix refresh to return JWT instead of raw session data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:56:35 +02:00
..
admin.ts feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
api-keys.ts feat(mana-auth): add guilds, api-keys, me, security, auth routes 2026-03-28 02:57:22 +01:00
auth.ts fix(mana-auth): add session-to-token endpoint and return JWT from login 2026-03-30 21:56:35 +02:00
guilds.ts feat(mana-auth): add guilds, api-keys, me, security, auth routes 2026-03-28 02:57:22 +01:00
me.ts feat(mana-auth): add guilds, api-keys, me, security, auth routes 2026-03-28 02:57:22 +01:00