Skip to content

Best Practice for Creating and Admin-Initiated User Creation Flow w/MFA #202

Answered by janko
petergoldstein asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, what you described sounds like a good approach to me 👍🏻 For requiring the user to configure MFA, Rodauth already provides #require_two_factor_setup method for that, so you can call rodauth.require_two_factor_setup if rodauth.logged_in? at the start of the request.

It would definitely be useful to have a wiki page showing how to implement invites. Feel free to add one, the wiki is publicly editable 🙂

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@petergoldstein
Comment options

Answer selected by petergoldstein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants