Skip to content

fix: enforce MFA validation on session login#4726

Merged
nabokihms merged 1 commit intodexidp:masterfrom
jnfrati:fix/ensure-mfa-validation
Apr 8, 2026
Merged

fix: enforce MFA validation on session login#4726
nabokihms merged 1 commit intodexidp:masterfrom
jnfrati:fix/ensure-mfa-validation

Conversation

@jnfrati
Copy link
Copy Markdown
Contributor

@jnfrati jnfrati commented Apr 7, 2026

Overview

During the login process, if a session exists, we should check if an MFA chain exists before allowing the user to login.

What this PR does / why we need it

If a user properly logs in with username & password, a session is created. On subsequent requests, session-based login reused the session without checking the MFA chain, allowing users to bypass MFA completely.

Special notes for your reviewer

Signed-off-by: jnfrati <nicofrati@gmail.com>
@nabokihms nabokihms added the release-note/bug-fix Release note: Bug Fixes label Apr 8, 2026
Copy link
Copy Markdown
Member

@nabokihms nabokihms left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch.

@nabokihms nabokihms merged commit 9c138ef into dexidp:master Apr 8, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/bug-fix Release note: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants