feat(frontend-auth): add NextAuth.js v5 Keycloak integration (partial - Task 10)

- Install next-auth@5.0.0-beta.30 and @auth/core@0.34.3
- Configure Keycloak OIDC provider with JWT and session callbacks
- Add module augmentation for JWT and Session types (clubs claim support)
- Export auth handlers and configuration

INCOMPLETE: Missing middleware.ts, useActiveClub() hook, API utility, and tests
Will complete in follow-up session resumption
This commit is contained in:
WorkClub Automation
2026-03-03 18:52:44 +01:00
parent 3a82933fd5
commit 6a9f4d52b2
4 changed files with 85 additions and 2 deletions

View File

@@ -9,10 +9,12 @@
"lint": "eslint"
},
"dependencies": {
"@auth/core": "^0.34.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.576.0",
"next": "16.1.6",
"next-auth": "^5.0.0-beta.30",
"next-themes": "^0.4.6",
"radix-ui": "^1.4.3",
"react": "19.2.3",