wordpress-mobile / wordpress-mobile/WordPress-Android
Login: passwordless users can't use Magic Links to associate social accounts
Nobody has claimed this yet.
- 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
- Log out if you are logged in.
- On the Prologue Screen, tap Sign Up For WordPress.com.
- On the bottom sheet, tap Sign Up With Email.
- Enter an email address that is not associated with an WordPress.com account, but that is associated with a Google account.
- Tap Next.
- Complete the login flow normally.
- On the Epilogue Screen, do not enter a password.
Part II: Login with a disconnected passwordless WordPress.com account
- Log out if you are logged in.
- On the Prologue Screen, tap Log In.
- If the Smart Lock dialog appears, dismiss it.
- On the Email Screen, tap Log in with Google.
- Pick a Google account that uses the same email address associated with the WordPress.com account created in Part I
- Notice the Email/Password Screen is shown, even though that account doesn’t have a password set up.
Notes
- To connect/disconnect a Google account, go to the Social Login page.
- Internal references:
pbArwn-su-p2andpbArwn-DK-p2 - Related issue: #6359
- Related FluxC PR: https://github.com/wordpress-mobile/WordPress-FluxC-Android/pull/1603
- Related iOS issue: https://github.com/wordpress-mobile/WordPress-iOS/issues/14331
Tested on Pixel 3XL, Android 10, WPAndroid 15.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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