document success_url / error_url query params on hosted ui#367
Conversation
Mirrors the onSuccess / onError callbacks the React Component already exposes. Common ask from mobile integrators using the hosted page inside an in-app browser who need to bounce back into the host app once auth completes. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Firetiger deploy monitoring skipped This PR didn't match the auto-monitor filter configured on your GitHub connection:
Reason: PR only modifies documentation (auth/hosted-ui.mdx); no changes to API endpoints (packages/api/cmd/api/) or Temporal workflows (packages/api/lib/temporal). To monitor this PR anyway, reply with |
There was a problem hiding this comment.
Risk assessment: Very Low.
This PR only adds a new documentation section to auth/hosted-ui.mdx describing success_url / error_url query params, with no production code, config, infrastructure, navigation, or shared logic changes. The diff is small and additive, and I found no existing approval to avoid duplicating.
Approved based on the docs-only blast radius.
Sent by Cursor Automation: Assign PR reviewers


Summary
auth/hosted-ui.mdxcovering the newsuccess_urlanderror_urlquery params on the hosted login page.profile_name,domainon success;code,messageon error) and shows TypeScript + Python snippets for building the URL on the backend.Test plan
🤖 Generated with Claude Code
Note
Low Risk
Documentation-only change describing redirect query params; no runtime or API behavior is modified in this PR.
Overview
Documents new
success_urlanderror_urlquery params for the Hosted UI login flow, including when each redirect triggers and what query payload is appended on success vs. error.Adds TypeScript and Python examples for constructing the redirect URLs and a warning callout highlighting the open-redirect risk if these values are user-controlled.
Reviewed by Cursor Bugbot for commit 3c20e89. Bugbot is set up for automated code reviews on this repo. Configure here.