Skip to content
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

WordPress.com VIP Go MFA incompatibility #687

Closed
6 tasks done
kevinfodness opened this issue May 13, 2019 · 5 comments · Fixed by #689
Closed
6 tasks done

WordPress.com VIP Go MFA incompatibility #687

kevinfodness opened this issue May 13, 2019 · 5 comments · Fixed by #689
Milestone

Comments

@kevinfodness
Copy link

Description

WordPress.com VIP Go will be requiring all users that have edit posts capabilities to use their MFA system as of May 29, 2019. If a user on a VIP Go site configures MFA on their account, they can no longer log in using Auth0, as the authentication flow presents a white screen when the MFA prompt should appear.

Although there are filters to disable the requirement for users to use MFA on VIP Go sites, users are still able to configure MFA on their profile, and if a user has MFA active, it will lock them out of their account when attempting to log in using Auth0.

This is a particular problem on multisite networks, in which Auth0 may not be used for login on all sites in the network, and MFA would be configured on the network-level account for non-Auth0 sites. A common use case here would be where the root site in the network is a corporate website where only employees will be logging in using their WordPress credentials with MFA configured, and one of the subsites supports public registration using Auth0 for community engagement.

Prerequisites

Environment

Please provide the following:

Reproduction

On a site that is using VIP Go mu-plugins (all sites on the WordPress.com VIP Go platform), configure a user account with MFA at the bottom of the user's profile page (/wp-admin/profile.php#two-factor-options), then attempt to sign in using Auth0 in an incognito window.

I used the "sign in with Google" button, and it took me through the authentication process with Google, and when it redirected back to the site it yields a nearly empty page - there is just a link for "back to [site name]". I have MFA configured with WordPress.com VIP Go via email, and I confirmed that the MFA email was sent from my VIP Go site, but the prompt to enter the MFA code is not present, and I am not able to finish the login process to the site.

This error is consistently reproducible.

There are no PHP or Auth0 plugin error log entries.

JSON export of settings: https://gist.github.com/kevinfodness/635e68236d5ffc6bc76da87b50842a91

Screenshot of nearly blank screen after returning from Auth0 login workflow:

Back to [SITE NAME]

@joshcanhelp
Copy link
Contributor

@kevinfodness - Thank you very much for this report and all the details! I'm happy to take a closer look and see what we can do but, in the meantime, have you tried with Features > Universal Login Page turned on?

@kevinfodness
Copy link
Author

Hi @joshcanhelp

Thanks for the suggestion, but unfortunately, the same behavior exists when I turn on that setting.

@joshcanhelp
Copy link
Contributor

joshcanhelp commented May 24, 2019

@kevinfodness - One more option ... we adjusted how the core WordPress login forms are handled and will be releasing that soon. Are you able to test with the master branch here? I think what's happening is that the form they're using for MFA is being hidden by CSS loaded by the plugin. You can try this out by inspecting that area and looking for a hidden form. It might just be that we need to adjust some CSS to get this working.

If not, or if that does not work, I'll need to try this out on their platform. I'm looking into local development options (edit: found EasyEngine, working well so far) now but is it possible to spin up a test site that I could take a look at? If so, you can send details to me directly at josh dot cunningham at auth0 dot com.

Thank you!

@joshcanhelp
Copy link
Contributor

joshcanhelp commented May 24, 2019

I was able to get a local setup running and it looks like my theory on what's happening here is correct. That form is hidden by default and the embedded form shows (this is with the master branch here).

Screen Shot 2019-05-24 at 1 19 07 PM

You can tinker with the CSS to show the form but submitting it is not accepted (as expected, we're trying to keep out unknown/unauthorized attempts to use the core login form). I think we just need to look for the request that this form is attempting and allow it. I'll take a look at that next week and get it into the next release if it's not a big overhaul.

@kevinfodness
Copy link
Author

Sounds great! Looking forward to what you can do here. Thanks so much for the assistance.

@joshcanhelp joshcanhelp mentioned this issue May 28, 2019
5 tasks
@joshcanhelp joshcanhelp added this to the 3.11.0 milestone May 29, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants