Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set disableRequestedAuthnContext in SAML strategy #3519

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

knolleary
Copy link
Member

This prevents our SAML implementation from sending the optional RequestedAuthnContext value in the SAML request. This can cause issues when using Entra - as documented here: node-saml/passport-saml#226

I have not been able to reproduce the original issue (#3518) as the precise Entra configuration is not clear. However, from the information provided by MS in that issue, and the linked issue above, I'm confident this will address the problem.

I've gone for disabling it be default. We may need to make it configurable in the future, but for now, I have tested against Okta, OneLogin and Entra with success.

@knolleary knolleary marked this pull request as ready for review February 27, 2024 14:46
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.95%. Comparing base (d281b22) to head (1df752d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3519   +/-   ##
=======================================
  Coverage   41.95%   41.95%           
=======================================
  Files         617      617           
  Lines       23548    23548           
  Branches     5706     5706           
=======================================
  Hits         9880     9880           
  Misses      13668    13668           
Flag Coverage Δ
backend 78.61% <ø> (ø)
frontend 1.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hardillb hardillb merged commit 1160256 into main Feb 28, 2024
7 checks passed
@hardillb hardillb deleted the 3518-remove-auth-context branch February 28, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSO: Unable to sign-in with Entra when user logged in via other method
2 participants