renjithsraj / twofactordjango

This Project will have the Implementation of TOTP validation with google authenticator for Django admin users. Main Aim of the project is add additional security feature for the admin users with TOTP validation
6 stars 4 forks source link

Use in conjunction with Allauth and Allauth-2fa #3

Open 9mido opened 4 years ago

9mido commented 4 years ago

Thank you for your youtube video and code you have created here.

It works great for admin logins but how do you use it also with django-allauth and django-allauth-2fa for regular users just to login to your website?

9mido commented 4 years ago

@renjithsraj

I have further details of this issue here:

https://github.com/Bouke/django-two-factor-auth/issues/357

https://github.com/pennersr/django-allauth/issues/2547

If you need further clarification or need to to make a video showing you this, please let me know.

dwasyl commented 3 years ago

@9mido Long after the fact, but if you're using django-allauth it might be easier to use this package https://github.com/valohai/django-allauth-2fa/, since it's built for compatibility with allauth

9mido commented 3 years ago

No worries thanks for the response. I was able to figure it out with django-otp for admin logins and yes you could use the 2fa package for others.