wordpress-mobile / wordpress-mobile/WordPress-iOS

Self-hosted site is not displayed in the site list after logging into WP.com account

Open
#22,439 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Self-hosted
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

After logging in with a site address not associated with WP.com account and adding WordPress account, the self-hosted site is not displayed in the site list.

Steps to reproduce the behavior
  1. Open Jetpack app
  2. Login with site address
  3. Enter self-hosted site credentials
  4. Me
  5. Log in with WordPress.com account
  6. After successful login, notice that the self-hosted site cannot be selected
  7. Select any other site
  8. Go to dashboard
  9. Select site switcher
  10. Now self-hosted site can be selected

https://github.com/wordpress-mobile/WordPress-iOS/assets/4062343/f40f41a5-689b-4b4a-88ef-6a7fedcf4575

Tested on [device], iOS [version], Jetpack iOS / WordPress iOS 24.1

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 by reproducing the login and site-switcher steps in the Jetpack app, using the reported WordPress iOS 24.1 context. Trace the flow from adding self-hosted credentials through WordPress.com login and site selection. Done means the self-hosted site is selectable immediately after login, without first selecting another site.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.