Fix:Server does not start with oidc. I don't understand this but it works that way now,

master
Stefan Otto 2019-10-30 18:01:17 +01:00
parent 295a731324
commit cc013f4c4e
1 changed files with 3 additions and 1 deletions

View File

@ -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 =