Description
Impacted plugin
Jetpack
Quick summary
The current Jetpack Connect flow links to the following Login page:
When connecting a self-hosted Jetpack site to WordPress.com account that doesn't exist yet using "Continue with..." buttons, the flow gets confusing.
This seems to be a long-standing issue.
- Issue was discovered: p1710857884265789/1710854911.107219-slack-C02TCEHP3HA
- Related discussion: p7DVsv-kfF-p2#comment-49614
Steps to reproduce
- Create a test self-hosted Jetpack site.
- Open a new / incognito browser window and make sure you are not logged in to any WordPress.com account there.
- Log in to your new test site's WP Admin.
- Navigate to the Jetpack settings page and click on the "Finish setting up Jetpack" button (and then "Connect your user account") to connect your test site with WordPress.com account.
- Click on one of the "Continue with..." buttons and make sure to use an (Google / Apple / GitHub) account that hasn't been linked with any WordPress.com account yet.
- Follow the steps and observe the flow.
A clear and concise description of what you expected to happen.
If the Google / Apple / GitHub account hasn't been linked with any WordPress.com account before, the flow should probably let the user create new WordPress.com account first and then link it with their Jetpack site automatically (as soon as the WordPress.com account is created).
What actually happened
The system tries to log in the user, but since their WordPress.com account doesn't exist, the flow has different outcome depending on the service used.
For instance, if we try to log in with Google, the following message gets displayed and the user might get stuck there, not knowing what to do next:
If we log in with GitHub, we get the following message:
This message at least informs the user what is going on and provides the next step, but when they create their WordPress.com account, the original flow of connecting the Jetpack site is exited and the user ends up with WordPress.com account, but without their Jetpack site connected.
I haven't tested the flow with Apple account, but I expect similar behavior.
Impact
All
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
No response
Metadata
Assignees
Labels
Type
Projects
Status
Triaged