mirror of
https://github.com/immich-app/immich
synced 2025-06-07 05:22:30 +00:00
fix: oauth (#18725)
This commit is contained in:
parent
97503d11c5
commit
9d04853b34
@ -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 };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user