You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-07 23:03:36 +02:00
fix: oauth (#18725)
This commit is contained in:
@ -40,8 +40,8 @@ export class OAuthRepository {
|
||||
redirect_uri: redirectUrl,
|
||||
scope: config.scope,
|
||||
state,
|
||||
code_challenge: codeChallenge,
|
||||
code_challenge_method: 'S256',
|
||||
code_challenge: client.serverMetadata().supportsPKCE() ? codeChallenge : '',
|
||||
code_challenge_method: client.serverMetadata().supportsPKCE() ? 'S256' : '',
|
||||
}).toString();
|
||||
return { url, state, codeVerifier };
|
||||
}
|
||||
|
Reference in New Issue
Block a user