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