wordpress-mobile / wordpress-mobile/WordPress-Android
Login flow is not consistently started from Reauthentication entry point
Open
Nobody has claimed this yet.
[Type] Bug
Login
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Steps to reproduce the behavior
- Log into the app with a WP.com account
- Disconnect the app from the WP.com account using https://wordpress.com/me/security/connected-applications
- Go the the posts screen and back to the home screen
- Observe a pop-up saying “Connection error: Incorrect username or password” with “Cancel” and “Settings” buttons.
- Tap “Settings” and get taken to the settings screen for the blog.
- At this point, I basically seem to be in a broken state. There’s not an account to log out of and I can’t log in with a WP.com account. At the same time I am sort of logged in because it still shows that I have the account’s sites, I just can’t do anything with them.
Expected behavior
I was expecting a Reauthentication pop-up that would take me back to the login flow.
Note: these steps were originally provided by @mchowning in pbMoDN-ET-p2#comment-1203
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 listed account-disconnection steps and trace the action taken when the error dialog's “Settings” button is tapped. Compare that path with the expected Reauthentication flow; done means the disconnected account returns the user to login instead of leaving the app in a broken state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100