wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.99k stars 1.33k forks source link

Login: passwordless users can't use Magic Links to associate social accounts #12216

Open renanferrari opened 4 years ago

renanferrari commented 4 years ago

Expected behavior

As a user with an existing WordPress.com account that uses Magic Links to sign in, I want to associate my social account that shares the same email address and log in that way. The last step to associate an account should not ask me to use a password.

Actual behavior

Magic Link users are sent to the password screen.

Steps to reproduce the behavior

Part I: Create a passwordless WordPress.com account

  1. Log out if you are logged in.
  2. On the Prologue Screen, tap Sign Up For WordPress.com.
  3. On the bottom sheet, tap Sign Up With Email.
  4. Enter an email address that is not associated with an WordPress.com account, but that is associated with a Google account.
  5. Tap Next.
  6. Complete the login flow normally.
  7. On the Epilogue Screen, do not enter a password.

Part II: Login with a disconnected passwordless WordPress.com account

  1. Log out if you are logged in.
  2. On the Prologue Screen, tap Log In.
  3. If the Smart Lock dialog appears, dismiss it.
  4. On the Email Screen, tap Log in with Google.
  5. Pick a Google account that uses the same email address associated with the WordPress.com account created in Part I
  6. Notice the Email/Password Screen is shown, even though that account doesn’t have a password set up.

Notes

Tested on Pixel 3XL, Android 10, WPAndroid 15.1
stale[bot] commented 3 years ago

This issue has been marked as stale because:

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.