fix(server): send id_token_hint on OIDC logout (#29720)

Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
Lorenzo Rota 2026-07-21 19:19:13 +02:00 committed by GitHub
parent d5adfb97dd
commit 73329a8ce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 111 additions and 27 deletions

View file

@ -26,6 +26,7 @@ export class SessionFactory {
updatedAt: newDate(),
userId: newUuid(),
oauthSid: newUuid(),
oauthBearerToken: 'oauth-bearer-token',
...dto,
});
}

View file

@ -22,7 +22,7 @@ const authFactory = ({
user,
}: {
apiKey?: Partial<AuthApiKey>;
session?: { id?: string; hasElevatedPermission?: boolean };
session?: { id?: string; hasElevatedPermission?: boolean; oauthBearerToken?: string | null };
user?: Omit<
Partial<UserAdmin>,
'createdAt' | 'updatedAt' | 'deletedAt' | 'fileCreatedAt' | 'fileModifiedAt' | 'localDateTime' | 'profileChangedAt'