Prompt user to return to protected resource after MFA enrollment
#11.016 geöffnet am 31. Dez. 2025
Repository-Metriken
- Stars
- (27.784 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 3h) (180 gemergte PRs in 30 T)
Beschreibung
Discussed in https://github.com/authelia/authelia/discussions/10833
Originally posted by cu0ngpitt November 27, 2025
We need to improve the user experience after a user successfully adds a multi-factor authentication device/token for the first time. Generally when a user is adding a mfa device, its because they are trying to access a resource that requires two factor. So after they add a device they probably still want to access that resource.
I think once the user has added a single mfa device/token, they should be prompted to redirect to the original protected resource with a dialog. Something along the lines of "You have added a multi-factor method, would you like to continue to https://example.com?" with options for "Lets go!", or "No, I have other stuff to do here"