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"
|
// any of the supported values directly, i.e. "S256" (recommended) or "plain"
|
||||||
const usePKCE = false;
|
const usePKCE = false;
|
||||||
|
|
||||||
|
const cClient = oidcClient;
|
||||||
|
|
||||||
oidcStrategy = new Strategy(
|
oidcStrategy = new Strategy(
|
||||||
{ oidcClient, params, passReqToCallback, usePKCE },
|
{ cClient, params, passReqToCallback, usePKCE },
|
||||||
(tokenset, userinfo, done) =>
|
(tokenset, userinfo, done) =>
|
||||||
{
|
{
|
||||||
const user =
|
const user =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue