Two-factor Authentication for Custom Login Page
-
Hello,
New to asking questions on here.
My website has a custom login page that I created. It also prevents you from trying to access the standard wp-login page by redirecting you back to the custom login page.
I was testing using SG Security Plugin’s Two-Factor Authentication on my staging site. When I turn on 2FA, I get a parse error when trying to log into my staging site on multiple browsers. Since it prevents me to log back onto the website, I have to log back in through siteground directly to get back to the admin panel.
I confirmed If I turn off 2FA, and log out, I can log back onto the staging site like normal.
I then tried to turn off a feature I have in place to prevent logging directly to wp-login page. This way I can test 2fa on my staging site from there. 2FA works perfectly when you go to wp-login page. Prompts you to set up with your phone and everything works.
So I guess after all this testing, my question is the following:
Will SG Security Plugin’s Two-Factor Authentication work for Custom Login Pages?
Are there any shortcodes or anything I can use to add to an Elementor page in order for my custom login page to see the props for codes/authenticator set up?
I’m assuming the parse error is shown because the custom login page is waiting for a response after you enter the email and password. But it’s expecting more info to be entered. Whether it’s setting up 2fa or entering the code itself.
Any way around this?
- The topic ‘Two-factor Authentication for Custom Login Page’ is closed to new replies.