Require multifactor authentication after login #419
Replies: 3 comments 7 replies
-
Imagine that login is redirecting to a page that doesn't require authentication, e.g. a page that is rendered differently depending on whether a user is logged in or not. In that case by default the user would not be automatically required to authenticate with 2nd factor after password login, because what's usually forcing that is a |
Beta Was this translation helpful? Give feedback.
-
What the guide is trying to show is how to handle the case where you are requiring two factor authentication when logged in, but allowing access without being logged in. The guide example could be shortened to |
Beta Was this translation helpful? Give feedback.
-
Ah thanks @jeremyevans @janko What are your thoughts on allowing authentication without requiring multi-factor for all requests? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @jeremyevans
The guide below details how to require multifactor authentication after login:
https://rodauth.jeremyevans.net/rdoc/files/doc/guides/require_mfa_rdoc.html
However from the source it appears as if multifactor is always required when it has been set up
Is that guide out of date or am I misunderstanding require_authentication?
Beta Was this translation helpful? Give feedback.
All reactions