mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-06 22:23:53 -05:00
fix(oidc): update params to include prompt for login while maintaining PKCE support
This commit is contained in:
@@ -717,7 +717,7 @@ export const oidcConfigServiceFactory = ({
|
||||
client,
|
||||
passReqToCallback: true,
|
||||
usePKCE: supportsPKCE,
|
||||
params: supportsPKCE ? { code_challenge_method: "S256" } : undefined
|
||||
params: { prompt: "login", ...(supportsPKCE ? { code_challenge_method: "S256" } : {}) }
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(_req: any, tokenSet: TokenSet, cb: any) => {
|
||||
|
||||
Reference in New Issue
Block a user