Skip to content

Commit

Permalink
add new scope and acr values in test
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitSerrano committed Oct 9, 2024
1 parent aed4e41 commit e8440e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ jobs:
SECRET: fakesessionsecret
ENCRYPT_SECRET: un_secret_avec_exactement_64_bit
FEATURE_WEB_ACCESS: true
OIDC_ACR_VALUES: eidas1
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
AFTER_MEETING_SURVEY_URL: https://startupdetat.typeform.com/to/R5uC1b0k
3 changes: 2 additions & 1 deletion test/oidcAuthTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit e8440e8

Please sign in to comment.