ManagementPortal icon indicating copy to clipboard operation
ManagementPortal copied to clipboard

Add nicer error for lacking MFA

Open Bdegraaf1234 opened this issue 1 year ago • 0 comments

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

Bdegraaf1234 avatar Apr 11 '24 10:04 Bdegraaf1234