docs(auth): OAuth callback identity verification#3875
docs(auth): OAuth callback identity verification#3875Anshu Garg (anshugarg15) wants to merge 1 commit into
Conversation
Add a changelog entry and a developer guide for the opt-in, per-project OAuth callback verifier (platform PR ComposioHQ/platform#11189): the flow, the security rationale, the public complete_auth endpoint, and how to assert the user_id from your own authenticated session. Register the guide under "Customizing auth" and cross-link it from white-labeling-authentication. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished Anshu Garg (@anshugarg15)'s task in 1m 27s —— View job Docs review — Looks good ✅Reviewed against Checklist
Verified
One observation (non-blocking, already acknowledged in the PR description) The "Enabling verification" section describes turning the feature on at concept altitude rather than click-level — there's no copy-paste step. Per On the merge holds: I'm not treating the draft/GA caveats (unmerged platform PR #11189, placeholder ship date Content is accurate, self-consistent, well cross-linked, and CI-clean per your local runs. Ship it once the feature is GA. |
Summary
Documents OAuth callback identity verification — the opt-in, per-project verifier that confirms which user an OAuth connection belongs to before it activates (source: platform PR ComposioHQ/platform#11189).
content/changelog/07-17-26-oauth-callback-identity-verification.mdx— why it exists, the flow, a cURL example forcomplete_auth, and an opt-in / no-action-required callout. Modeled on02-06-26-webhook-subscriptions-api(new capability + public endpoint) and04-09-26-multi-account-aliases(opt-in phrasing).content/docs/oauth-callback-identity-verification.mdx— full flow, the security rationale, how to complete a verification, response handling, and the operational requirement that the completing browser be authenticated by your app so you can assert the rightuser_id. Filed under "Customizing auth", afterwhite-labeling-authentication.content/docs/meta.json.white-labeling-authentication.mdx(the page where callback routing is configured).Every code reference is verified against platform source:
complete_authisPOST /api/v3.1/connected_accounts/complete_auth, public (API_DOCS+SDK, project API key), request{ session_uri, user_id }, and the response is the standard connected-account object.Hold before merge — this is a draft
07-17-26/ frontmatter2026-07-17must be reset to the real ship date at merge.oauthCallbackVerifierUrlis set only via a dashboard-internal route (cloud, admin role) or a self-hosted cookie route — there is no project-API-key way to turn it on, and no SDK method. The docs therefore describe enabling as a per-project setting, not an API call. Confirm the exact enable UX (dashboard control) before GA — that's the one part written at concept altitude rather than click-level.complete_authis not yet in the generated API reference, so it's documented inline with cURL (no/reference/...link, which would fail link validation). Add the API-ref link once the OpenAPI spec regenerates post-merge.Validation
Ran the docs CI equivalents locally from
docs/:lint:links(0 errors), static tests (33 pass / 0 fail),types:check(frontmatter schema +tscclean). Productionbuildnot run locally (notscode blocks in these files, so Twoslash has nothing to check); CI runs the full build.🤖 Generated with Claude Code