wordpress-mobile / wordpress-mobile/WordPress-Android

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

Open
#12,216 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Status] Stale [Type] Enhancement Login
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flow on Android 10 as described, then inspect the Android login and social-account association flow. Review the related FluxC PR #1603 and issue #6359 for context; done means a passwordless WordPress.com user can associate and use a matching Google account without being sent to the password screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.