Fix:Server does not start with oidc 2nd try

master
Stefan Otto 2019-10-30 18:11:52 +01:00
parent cc013f4c4e
commit b5dd7f0ee4
1 changed files with 2 additions and 2 deletions

View File

@ -177,10 +177,10 @@ async function setupAuth(oidcIssuer)
// any of the supported values directly, i.e. "S256" (recommended) or "plain" // any of the supported values directly, i.e. "S256" (recommended) or "plain"
const usePKCE = false; const usePKCE = false;
const cClient = oidcClient; const client = oidcClient;
oidcStrategy = new Strategy( oidcStrategy = new Strategy(
{ cClient, params, passReqToCallback, usePKCE }, { client, params, passReqToCallback, usePKCE },
(tokenset, userinfo, done) => (tokenset, userinfo, done) =>
{ {
const user = const user =