major: Migration from better-auth to keycloak

This commit is contained in:
2025-10-28 10:40:38 +01:00
parent e5e063bbde
commit 36364a7977
77 changed files with 1444 additions and 2930 deletions

20
legalconsenthub/types/auth.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
declare module '#auth-utils' {
interface User {
keycloakId: string
name: string
organizations: Organization[]
}
interface UserSession {
name: string
organizations: Organization[]
loggedInAt: number
jwt: {
accessToken: string
refreshToken: string
expiresIn: number
}
}
}
export {}