diff --git a/lib/oidcAuth.js b/lib/oidcAuth.js index 60353598..1adbfaf3 100644 --- a/lib/oidcAuth.js +++ b/lib/oidcAuth.js @@ -51,7 +51,7 @@ module.exports.startAuth = async (conferenceDurationInMinutes, conferenceDayStri const redirectUrl = client.authorizationUrl({ scope: "openid uid email", state, - acr_values: config.OIDC_ACR_VALUES, + acr_values: "eidas1", /* todo add this back code_challenge, code_challenge_method: 'S256', diff --git a/test/oidcAuthTest.js b/test/oidcAuthTest.js index b4595a73..6cdafc91 100644 --- a/test/oidcAuthTest.js +++ b/test/oidcAuthTest.js @@ -64,7 +64,8 @@ describe("oidcAuth", function() { expect(request.redirectUrl).to.equal(redirectUrl) sinon.assert.calledWith(authorizationUrlStub.getCall(0), { - scope: "openid", + scope: "openid uid email", + acr_values: "eidas1", state: sinon.match.string, nonce: sinon.match.string, }