major: Migration from better-auth to keycloak
This commit is contained in:
13
legalconsenthub/types/keycloak.ts
Normal file
13
legalconsenthub/types/keycloak.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface KeycloakTokenPayload {
|
||||
name?: string
|
||||
preferred_username?: string
|
||||
given_name?: string
|
||||
family_name?: string
|
||||
email?: string
|
||||
organization?: Record<string, { id?: string }>
|
||||
}
|
||||
|
||||
export interface Organization {
|
||||
name: string
|
||||
id: string
|
||||
}
|
||||
Reference in New Issue
Block a user