Skip to content

Logging out from either the WP or JP app affects the login state of the other #19627

Description

@dvdchr

Refs: #19603 (review) – Issue no. 3, p5T066-3JS-p2#comment-14016

Expected behavior

When logging out from the Jetpack app, it shouldn't affect the login state in WordPress.

Actual behavior

When logged in to both WordPress and Jetpack apps using the same account, logging out from either one causes the auth token from the other to be wiped.

Steps to reproduce the behavior

  • Install both WordPress and Jetpack app.
  • Log in to both apps with the same account.
  • Log out from either one of the apps.
  • Switch to the other app.
  • 🔍 Verify that the login state in the app (that should've been unaffected) is now invalid, requiring you to re-enter the credentials.

A similar issue was also reported internally in p5T066-3JS-p2#comment-14016. Here's a video captured by @tiagomar:

logout.problem.mov

This issue is reproducible from 20.9, as identified by @twstokes here: p5T066-3JS-p2#comment-14023

Note: I'm assigning this a medium priority due to the potential confusion the users could face when this happens. This issue doesn't block the users from performing their "happy path" use cases, and several conditions need to be fulfilled first (which could deter the spread of the issue): 1) logging in to both apps and 2) having the user log out.

Tested on iPhone 13 Pro, iOS 16.0.2, WPiOS 20.9...21.2

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions