Skip to content

Commit

Permalink
Set disableRequestedAuthnContext in SAML strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Feb 27, 2024
1 parent d281b22 commit 1df752d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forge/ee/routes/sso/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = fp(async function (app, opts) {

fastifyPassport.use(new MultiSamlStrategy({
passReqToCallback: true, // makes req available in callback,
disableRequestedAuthnContext: true, // Helps make things work with Entra
wantAssertionsSigned: false, // TODO: allow this to be set per provider
async getSamlOptions (request, done) {
if (request.body?.RelayState) {
Expand Down

0 comments on commit 1df752d

Please sign in to comment.