Using MFA with Wagtail #3880
Unanswered
jhonatan-lopes
asked this question in
Q&A
Replies: 1 comment
-
Instead of creating a new view deriving from
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to integrate MFA with Wagtail. Right now, I have a login page for regular users that goes through
django-allauth
and has MFA enabled, and that is working well. However, I also have another login page for editors on my admin page, which uses Wagtail's own login view based on Django's login view, which means that it bypasses the MFA. People that have MFA enabled can login without putting their code in on the Wagtail page because it is using the regular login.My goal right now is that:
I've tried replacing Wagtail's Login view with an
allauth
based login view:I'm not sure if this is the best approach, but it works well with users that have MFA enabled. However, for users that do not have MFA and can't access the admin page, it gets stuck on a redirection loop to the
wagtailadmin_login
view.I would appreciate any help in getting this working 🙏
Beta Was this translation helpful? Give feedback.
All reactions