wordpress-mobile / wordpress-mobile/WordPress-Android
[Jetpack Focus] Avoid that login is triggered when user logs out of JP
Nobody has claimed this yet.
- 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
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 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