-
Notifications
You must be signed in to change notification settings - Fork 16
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 MFA, TOTP and OTP authentication adapters #60
Comments
This will require major changes in the login flow. MFA needs multiple steps, user/credentials login form. If pass then go to next step. If fail, go back to login with error message. In the next step, validate the 2nd authentication factor. If pass, then we are done, if failed then stay in that step to validate a corrected 2nd authentication factor. Currently, LmcUser has a one factor login flow: identity/credentials login form, pass or fail |
You may have a look at https://github.com/lampi87/LmcUserOTP Enabling OTP, define mobile number or add and verify TOTP token, must be handled by application |
Thanks @lampi87 I am working on a more generic version and I am looking at your version to see how this would work. I would like the 2nd factor to be some sort of plugin and have plugins/adapters for sending messages as well. LmcUser was designed to have a one step login. In a 2FA situation, if, for example, the code entered in the 2nd step is not valid, it should stay in that step to let the use try again. Once I have something working, I will be looking at volunteers to try it out. |
Additional requirements:
|
See also #28 |
Add authentication adapters for MFA:
Start from the PR subimitted by @lampi87 (#30
There should be clear documentation on how to extend the adapter to support customized MFA flows
The text was updated successfully, but these errors were encountered: