mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-07 22:53:55 -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,
|
client,
|
||||||
passReqToCallback: true,
|
passReqToCallback: true,
|
||||||
usePKCE: supportsPKCE,
|
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
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
(_req: any, tokenSet: TokenSet, cb: any) => {
|
(_req: any, tokenSet: TokenSet, cb: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user