export interface KeycloakTokenPayload {
  name?: string
  preferred_username?: string
  given_name?: string
  family_name?: string
  email?: string
  organization?: Record<string, { id?: string }>
  resource_access?: {
    legalconsenthub?: {
      roles?: string[]
    }
  }
}

export interface Organization {
  name: string
  id: string
}
