Skip to content

Remove deleted /identity/callback visitor sign-in from identity-connections docs - #157

Open
batuhan wants to merge 2 commits into
mainfrom
chore/remove-oidc-callback-docs
Open

batuhan wants to merge 2 commits into
mainfrom
chore/remove-oidc-callback-docs

Conversation

@batuhan

@batuhan batuhan commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates the public documentation to match https://github.com/spacefast/monorepo/pull/6300, which removes the per-Space OIDC relying-party routes (/identity/:connectionId/start, /identity/callback) and per-connection access-page buttons:

  • content/(account)/identity-connections.mdx: removes the /identity/callback redirect URI table, access-page "Continue with" paragraph, and OIDC round-trip error table; documents that oidc connections trust an issuer for OAuth ID-JAG and signer connections use Ed25519 proof exchange.
  • content/(operate)/sso.mdx: replaces the /identity/callback registration section with OAuth ID-JAG verification, updates "What a visitor sees" to describe Sign in with Spacefast + white-label signer proof exchange, and removes stale SSO button references.
  • content/(operate)/share.mdx: removes the stale "Continue with <provider>" button reference on the access page.

Merge order

Merge after https://github.com/spacefast/monorepo/pull/6300 ships to production, then update docs-dependency.json in spacefast/www and regenerate apps/control-plane/src/docs/docs-corpus.snapshot.json in spacefast/monorepo.

@indent

indent Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Issues

1 potential issue found:

  • The "White-label signers" section of content/(operate)/sso.mdx (around line 110) still says Spacefast sends the visitor to the Sign-in URL with spaceId, host, return and browserState. That redirect lives in the /identity/:connectionId/start handler that monorepo#6300 deletes, and the table row on line 26 now says "Where your portal handles sign-in", so the page contradicts itself.
    Found by Indent Review Agent

↑ Select any checkbox above to have Indent auto-fix the issue

3 issues already resolved
  • content/(operate)/sso.mdx still tells customers to register https://api.spacefast.com/identity/callback with PKCE and openid email profile, promises a "Continue with " button, and mentions the SSO button on lines 13 and 112. This contradicts the updated identity-connections.mdx. (fixed by commit 76d3229)
    Found by Indent Review Agent
  • The "What a visitor sees" bullet in content/(operate)/share.mdx (around line 271) says the access page adds a "Continue with " button for each SSO connection with a grant. This PR removes the matching paragraph from identity-connections.mdx, so the pages now disagree. (fixed by commit 76d3229)
    Found by Indent Review Agent
  • spacefast/monorepo#6300, which removes /identity/callback and the access-page buttons, was still open when reviewed. If this PR merges first, the docs drop the only setup instructions (redirect URI, scopes, error codes) for a flow that still works in production.
    Found by Indent Review Agent

CI Checks

All required CI checks passed on 76d3229.

Review agents

Select any unchecked box below to run or rerun that agent.

Found issues (1)
  • Indent Review Agent · Signer redirect text stale; ships before #6300
Full results

Indent Review Agent

  • Summary: Signer redirect text stale; ships before #6300
  • Last ran on commit: 76d3229e
  • Latest result
    {
      "summary": "Signer redirect text stale; ships before #6300",
      "findings": [
        {
          "fix": "Remove or rewrite the redirect sentence on line 110. Say the portal signs the visitor in on its own and exchanges the proof (protocol from support, matching identity-connections.mdx \"Build a signer\"), and that the Sign-in URL is stored on the connection but Spacefast no longer redirects to it.",
          "line": 110,
          "path": "content/(operate)/sso.mdx",
          "issue": "The \"White-label signers\" section still says: \"Spacefast sends the visitor to your **Sign-in URL** with `spaceId`, `host`, `return`, and `browserState` as query parameters.\" On main, that redirect is done only by `startIdentityProof` in apps/control-plane/src/access/identity-service.ts, the handler for `/identity/:connectionId/start`, which monorepo#6300 deletes. On the #6300 branch, `authorizeUrl` is validated and stored in connections.ts but nothing reads it to redirect anyone. Signer integrators would wait for redirects that never arrive. This commit also changed the table row on line 26 to \"Where your portal handles sign-in\", so the page now contradicts itself.",
          "title": "sso.mdx still says Spacefast redirects visitors to the signer's Sign-in URL",
          "severity": "bug"
        },
        {
          "fix": "Hold this PR until monorepo#6300 merges and deploys, or make that a merge gate.",
          "line": 41,
          "path": "content/(operate)/sso.mdx",
          "issue": "spacefast/monorepo#6300, which removes `/identity/:connectionId/start`, `/identity/callback` and the access-page \"Continue with <name>\" buttons, is still OPEN (not merged). If this PR merges and deploys first, the published sso, identity-connections and share docs drop the redirect URI, scopes and error codes for a flow that production still serves. They would also tell readers that per-Space OIDC buttons aren't used while customers' access pages still show them.",
          "title": "Docs change ships ahead of the still-open monorepo#6300",
          "severity": "bug"
        }
      ]
    }

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The identity-connections guide now describes OIDC discovery, JWKS verification, accepted signing algorithms, and the signer proof-exchange lane. It removes provider-registration instructions, access-page details, and the OIDC sign-in failure table.

Changes: Identity connections documentation

Layer / File(s) Summary
OIDC flow and connection guidance
content/(account)/identity-connections.mdx
The guide describes OIDC providers as issuing OAuth ID-JAG assertions and documents discovery, JWKS verification, accepted signing algorithms, the Spacefast sign-in route, and the signer proof-exchange lane. It removes provider-registration instructions, access-page details, and OIDC sign-in failure codes.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • spacefast/docs#86: This PR documents the same /identity route surface and changes the documented visitor sign-in behavior.

Suggested reviewers: kn0ax

Merge Risk: Minimal · up to 06eb8

This documentation update replaces the removed per-Space OIDC sign-in instructions with guidance on ID-JAG assertions and Sign in with Spacefast. No code behavior changes. It is safe to merge. Before publishing, the maintainers could confirm that the documented signing algorithms and discovery path match the ID-JAG verifier in the monorepo change.

Architecture risk: Low · up to 06eb8

The change affects 1 source area.

For an OIDC identity connection, the provider is expected to issue an ID-JAG assertion and provide discovery and JWKS information using the documented signing algorithms, so Spacefast can verify the assertion and use the signer proof-exchange lane.

Changed areas: content

Review details

Systems and components

  • observed — 1 changed file mapped to content.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing the deleted /identity/callback visitor sign-in path from the identity-connections docs. The raw summary confirms the guide now routes browser visitors through…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: removing the deleted /identity/callback visitor sign-in path from the identity-connections docs. The raw summary confirms the guide now routes browser visitors through Sign in with Spacefast instead of a per-Space OIDC callback, and it removes the provider-registration and sign-in failure content. The title is specific and matches the changeset and the PR objectives.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 402d1116-f633-4314-88ba-52f56370c8ff
Commits

Reviewing files that changed from the base of the PR and between a9ee862 and 06eb833.

Files selected for processing: 1

  • content/(account)/identity-connections.mdx

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

This branch was successfully deployed

1 active deployment
preview/chore/remove-oidc-callback-docs — 76d3229e Deployed Nov 29, 2026 by spacefast[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant