keep plan selection during keycloak hop

This commit is contained in:
2024-09-17 16:51:30 +02:00
parent c00c2caccc
commit eaa8a5064f
9 changed files with 108 additions and 42 deletions

View File

@@ -120,6 +120,7 @@ export interface KeycloakUser {
requiredActions?: any[];
notBefore?: number;
access?: Access;
attributes?: Attributes;
}
export interface JwtUser {
userId: string;
@@ -128,6 +129,10 @@ export interface JwtUser {
lastname: string;
roles: string[];
}
interface Attributes {
[key: string]: any;
priceID: any;
}
export interface Access {
manageGroupMembership: boolean;
view: boolean;
@@ -174,6 +179,7 @@ export interface JwtToken {
family_name: string;
email: string;
user_id: string;
price_id: string;
}
export interface JwtPayload {
sub: string;