Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetpack Install: Log In fails when Jetpack Plugin is in site-only connection state #19566

Open
thehenrybyrd opened this issue Nov 7, 2022 · 1 comment
Labels
Jetpack Install Anything related to the Jetpack Install process Jetpack [Pri] Medium [Type] Bug

Comments

@thehenrybyrd
Copy link
Contributor

Expected behavior

Expected tapping "Log in" prompt in Stats to allow me to connect my site and load stats.

Actual behavior

When the Jetpack Plugin is in a site-only connection state, tapping "Log in" results in a login loop. I am able to complete the login flow, but the account is not connected and I cannot view stats.

Steps to reproduce the behavior

  1. Create a new self-hosted site, and get it into site-only state by:
  • From wp-admin on the web, install the Jetpack Plugin, and activate it.
  • Still in wp-admin, tap "set up" for the Jetpack Plugin, but don't complete the process. When you see "Connecting as...", don't tap "Approve," instead press the back button.
  • You'll now see the following in wp-admin > Jetpack, towards the bottom:

  1. In the app, add your self-hosted site. I did this while already logged into a WordPress.com account on the app.
  2. Once added, tap "Stats" and note you see the "Log in" prompt.
  3. Tap "Log in" and go through the login flow for your WordPress.com account.
  4. Once the login flow is complete, note Stats still shows the "Log in" prompt.
loginloopios.mov
Tested on iPhone 12 mini, iOS 15.7, JPiOS 21.0
@thehenrybyrd thehenrybyrd added [Type] Bug Jetpack Stats Jetpack Install Anything related to the Jetpack Install process labels Nov 7, 2022
@staskus staskus changed the title Stats: Log In fails when Jetpack Plugin is in site-only connection state Jetpack Install: Log In fails when Jetpack Plugin is in site-only connection state Jan 19, 2023
@staskus staskus removed the Stats label Jan 19, 2023
@staskus
Copy link
Contributor

staskus commented Jan 19, 2023

Note: I'm removing "Stats" label since it's not directly related. The same issue would happen in the "Notifications" tab as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jetpack Install Anything related to the Jetpack Install process Jetpack [Pri] Medium [Type] Bug
Projects
None yet
Development

No branches or pull requests

3 participants