Skip to content

Login: SMS with verification code silently fails to be sent when using Google Sign-In with a disconnected 2FA account #12424

@renanferrari

Description

@renanferrari

Expected behavior

I expected to either be able to receive a SMS with a verification code when my Google account is disconnected from my WordPress.com account or at least see an error explaining why it wasn't possible to send one.

Actual behavior

I don't receive a SMS and don't see any error message explaining why.

Steps to reproduce the behavior

  1. Start with an account with Google sign-in and two-factor authentication enabled via SMS.
  2. Try to log in with your Google account.
  3. You should receive the SMS with the verification code and be able to log in normally.
  4. Quickly log out and try to log in again.
  5. You should see a "Too many attempts" error, which is expected.
  6. From the web, disconnect your Google account on the Social Login page.
  7. Try to log in again.
  8. Notice how the "Too many attempts" error is never shown.
  9. Notice the Email/Password screen.
  10. Enter your WordPress.com account password.
  11. Tap Continue.
  12. Notice the 2FA screen.
  13. Notice how no SMS was received.
  14. Tap "Text me a code instead".
  15. Notice how no SMS was received again.
  16. Notice how no error is shown.
Tested on Pixel 3 XL, Android 10, WPAndroid 15.2-rc-2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions