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

This commit is contained in:
Stefan Otto
2019-10-30 18:01:17 +01:00
parent 295a731324
commit cc013f4c4e
+3 -1
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 =