-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to implement 2FA? #1171
Comments
@fameoflight Have you checked devise-two-factor ? |
@MaicolBen do you have any examples? |
I feel like 2fa and this are incompatible. |
For someone else looking for a solution. I modified is_valid_password? on User, model to parse the string as JSON and then getting password and OTP token separately. |
@fameoflight Sorry I don't have experience with 2fa, thank you for posting your findings! |
@fameoflight can you share an example, how you did it? were you using https://github.com/tinfoil/devise-two-factor ? |
If anyone needs this, i created a gist if you want to use devise-two-factor |
Any ideas how can I implement 2FA with devise token auth?
The text was updated successfully, but these errors were encountered: