mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 08:01:09 +02:00
Add comprehensive tests for role field security: - Default role assignment verification - input:false security (prevents role escalation) - JWT payload role validation - Role consistency across sessions - Minimal JWT claims (no sensitive data) Test infrastructure improvements: - Add jose mock for ESM compatibility - Update better-auth mock response format - Configure Jest e2e to use mocks |
||
|---|---|---|
| .. | ||
| better-auth-adapters.ts | ||
| better-auth-plugins.ts | ||
| better-auth.ts | ||
| jose.ts | ||
| nanoid.ts | ||