wordpress-mobile / wordpress-mobile/WordPress-iOS

The Bluesky connection flow is not working

Open
#23,984 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] High [Type] Bug Sharing Webviews
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Steps

  • On a Jetpack site, go to "More" / "Site Settings" / "Sharing"
  • Select Bluesky and tap "Connect"

Expected Result

It opens the browser and shows a form to enter your credentials.

Observed Result

It shows the following. The user is blocked.

Image

RCA

The connect_URL associated with this service (returned by the backend) leads to the non-functioning flow.

On the web, this flow is handled by an ad-hoc form:

It isn't the solution the mobile is looking for. In the past, there's been a similar issue with Mastodon, and it was solved by updating the page that connect_URL points to to show a form that asks for your Mastodon information before kicking off the connection flow.

    "bluesky": {
      "ID": "bluesky",
      "label": "Bluesky",
      "type": "publicize",
      "description": "Publish your posts to Bluesky.",
      "genericon": {
        "class": "bluesky",
        "unicode": "\\f214"
      },
      "icon": "http://i.wordpress.com/wp-content/admin-plugins/publicize/assets/publicize-bluesky-2x.png",
      "multiple_external_user_ID_support": false,
      "external_users_only": false,
      "connect_URL": "https://public-api.wordpress.com/connect/?action=request&kr_nonce=11c6348bdb&nonce=57b9c75211&for=connect&service=bluesky&blog=236544129&kr_blog_nonce=2e028d3346&magic=keyring",
      "jetpack_support": true,
      "jetpack_module_required": "publicize"
    },

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 tracing the Bluesky connection flow in the WordPress iOS app and verifying the backend-provided connect_URL. Compare the failing Bluesky destination with the existing Mastodon connection flow; done means the Connect action opens a credentials form and proceeds with the connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.