PKCE for Github, Gitlab, Google, and OIDC SSO

This commit is contained in:
x
2025-04-25 18:45:23 -04:00
parent cf1f83aaa3
commit 68e21ba8ce
6 changed files with 62 additions and 53 deletions
@@ -688,7 +688,11 @@ export const oidcConfigServiceFactory = ({
const strategy = new OpenIdStrategy(
{
client,
passReqToCallback: true
passReqToCallback: true,
usePKCE: true,
params: {
code_challenge_method: "S256"
}
},
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(_req: any, tokenSet: TokenSet, cb: any) => {