wordpress-mobile / wordpress-mobile/WordPress-Android

[Jetpack Focus] Avoid that login is triggered when user logs out of JP

Open
#17,406 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

With the current implementation in SharedLoginResolver (that will be renamed to LocalMigrationOrchestrator) if the user is already logged in to JP and logs out manually, they will be logged in automatically again if WP app is logged in. We should avoid that automatic login is triggered when user logs out of JP manually.

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 in SharedLoginResolver.kt at WordPress/src/main/java/org/wordpress/android/sharedlogin/resolver/SharedLoginResolver.kt, noting that it will be renamed to LocalMigrationOrchestrator.kt. Trace the login flow when a user logs out of Jetpack while WordPress remains logged in. Done means a manual Jetpack logout does not trigger an automatic login again.

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
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.