wordpress-mobile / wordpress-mobile/WordPress-Android

Login flow is not consistently started from Reauthentication entry point

Open
#12,370 3 comments 0 reactions 0 assignees View on GitHub

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
  1. Log into the app with a WP.com account
  2. Disconnect the app from the WP.com account using https://wordpress.com/me/security/connected-applications
  3. Go the the posts screen and back to the home screen
  4. Observe a pop-up saying “Connection error: Incorrect username or password” with “Cancel” and “Settings” buttons.
  5. Tap “Settings” and get taken to the settings screen for the blog.
  6. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.