Skip to content

Use Unspecified SAML authn context for Azure AD SSO#892

Open
7err0x wants to merge 1 commit into
DeviceFarmer:masterfrom
7err0x:deviceFarmer/fix-saml-AAD
Open

Use Unspecified SAML authn context for Azure AD SSO#892
7err0x wants to merge 1 commit into
DeviceFarmer:masterfrom
7err0x:deviceFarmer/fix-saml-AAD

Conversation

@7err0x

@7err0x 7err0x commented Jul 9, 2026

Copy link
Copy Markdown

Azure AD rejects PasswordProtectedTransport when users authenticate with MFA or passwordless. Also read the user email from nameID, which is what Microsoft Entra ID provides by default.

Azure AD rejects PasswordProtectedTransport when users authenticate
with MFA or passwordless. Also read the user email from nameID, which
is what Microsoft Entra ID provides by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread lib/units/auth/saml2.js
'/auth/saml/callback'
, function(req, res) {
if (req.user.email) {
if (req.user.nameID) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it break the current behavior for other SAMLs?

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.

2 participants