mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 04:19:39 +02:00
Same issue as sessionToToken - the signIn method was returning the session cookie token as refreshToken, but the /api/v1/auth/refresh endpoint expects the actual refreshToken field from the sessions table. Now signIn: - Fetches the session from database after Better Auth creates it - Uses existing refreshToken if available - Generates and stores a new refreshToken if missing - Returns the actual refreshToken that works with token refresh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__/utils | ||
| ai | ||
| analytics | ||
| auth | ||
| common | ||
| config | ||
| credits | ||
| db | ||
| feedback | ||
| health | ||
| metrics | ||
| referrals | ||
| settings | ||
| tags | ||
| app.module.ts | ||
| main.ts | ||