You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove deleted /identity/callback visitor sign-in from identity-connections docs - #157
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 afterhttps://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.
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
{
"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"
}
]
}
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.
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: 4
Check name
Status
Explanation
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/callbackredirect URI table, access-page "Continue with" paragraph, and OIDC round-trip error table; documents thatoidcconnections trust an issuer for OAuth ID-JAG andsignerconnections use Ed25519 proof exchange.content/(operate)/sso.mdx: replaces the/identity/callbackregistration 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.jsoninspacefast/wwwand regenerateapps/control-plane/src/docs/docs-corpus.snapshot.jsoninspacefast/monorepo.