Fix:Server does not start with oidc. I don't understand this but it works that way now,
parent
295a731324
commit
cc013f4c4e
|
|
@ -177,8 +177,10 @@ async function setupAuth(oidcIssuer)
|
|||
// any of the supported values directly, i.e. "S256" (recommended) or "plain"
|
||||
const usePKCE = false;
|
||||
|
||||
const cClient = oidcClient;
|
||||
|
||||
oidcStrategy = new Strategy(
|
||||
{ oidcClient, params, passReqToCallback, usePKCE },
|
||||
{ cClient, params, passReqToCallback, usePKCE },
|
||||
(tokenset, userinfo, done) =>
|
||||
{
|
||||
const user =
|
||||
|
|
|
|||
Loading…
Reference in New Issue