mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(server): send id_token_hint on OIDC logout (#29720)
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
parent
d5adfb97dd
commit
73329a8ce8
9 changed files with 111 additions and 27 deletions
|
|
@ -26,6 +26,7 @@ export class SessionFactory {
|
|||
updatedAt: newDate(),
|
||||
userId: newUuid(),
|
||||
oauthSid: newUuid(),
|
||||
oauthBearerToken: 'oauth-bearer-token',
|
||||
...dto,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue