wordpress-mobile / wordpress-mobile/WordPress-Android
Reauthentication dialog redirects to self-hosted site settings when disconnecting WP.com account
Nobody has claimed this yet.
- 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
- Log into the app with a non-jetpack connected self-hosted site
- Make sure your selected site is the self-hosted site
- 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" - Observe that you are taken to the account settings (i.e., username/password) for the self-hosted site
Expected behavior
This flow made it seem like there was a problem with the self-hosted site instead of the WP.com account that was disconnected. Admittedly this is an edge case though.
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
Reproduce the disconnect flow from the posts screen back to the home screen, then inspect the reauthentication dialog and its Settings action. Trace which account is considered disconnected and verify that Settings points to the WP.com account rather than the selected self-hosted site's credentials; repeat the listed steps to confirm the misleading redirect is gone.
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