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

Add nicer error for lacking MFA #798

Open
Bdegraaf1234 opened this issue Apr 11, 2024 · 0 comments
Open

Add nicer error for lacking MFA #798

Bdegraaf1234 opened this issue Apr 11, 2024 · 0 comments

Comments

@Bdegraaf1234
Copy link
Member

If a user hads no MFA and MP is configured to require MFA, the user is currently redirected to the login page despite actually being logged in.

This is because the InsufficientAalException is not passed upstream, instead it you just get an TokenValidationException.

We need to generate a proper error for the user, so they know they need to enable MFA

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

No branches or pull requests

1 participant