-
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
Login: Invalid verification code
error using 1Password when 2fa is enabled
#10386
Comments
Hacked on this a bit. Code wise everything looks correct to my eyes. I've re-tested with a test account, and my work account and I can log in with 2fa and 1password using a username just fine with both app store build and the current beta. @rachelmcr was also successfully able to login when she looked. |
@aerych - I can try debugging, will report back. |
It's possible this is not exactly a bug, but rather the timing issue described in #4636:
|
I can still reproduce 100% of the time with my account on a fresh WP install from the App store. Let me know if there's anything I can do to help you narrow this down. I'll send you a video privately since the 1P login screen shows more info than I'd like to include in a public GitHub issue. |
Fyi, I was able to narrow down the issue I was having. It's mostly my fault it turns out, but there's some space to improve the experience. It's an edge case though, so it may not be a priority issue. It seems having a second 2FA code in my 1Password WordPress.com entry was the issue. The process was picking up the wrong 2FA code, which makes sense. That said, while the error message given by the app is quite correct, it does seem to leave the app in a weird state where pressing next should let me insert the 2FA code manually (instead of trying again)... but again that may not be worth the effort right now since most users won't have two 2FA codes in 1P for their WordPress accounts. |
Ah! That makes sense. |
Removed myself from this one (for now) so its free for another to pick up. |
@diegoreymendez caught an interesting glitch where the login would fail with a
Invalid verification code
error when attempting to login with a username via 1Password when 2fa is enabled on the account. For more context see our slack chat: p1541162895171200-slack-ios-osx-devLogin succeeds under the same circumstances with an account without 2fa enabled.
Speculation: We're probably calling the wrong login method (or passing the wrong info in loginfields) so that its trying to satisfy a 2fa challenge before it should.
The text was updated successfully, but these errors were encountered: