Skip to main content
POST
/
auth
/
oauth
/
cross-domain
/
authorize
Create cross-domain auth handoff redirect
curl --request POST \
  --url https://api.stack-auth.com/api/v1/auth/oauth/cross-domain/authorize \
  --header 'Content-Type: application/json' \
  --header 'x-stack-publishable-client-key: <x-stack-publishable-client-key>' \
  --header 'x-stack-refresh-token: <x-stack-refresh-token>' \
  --data '{}'
{
  "redirect_url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Headers

x-stack-publishable-client-key
string
required
x-stack-refresh-token
string
required

Body

application/json
redirect_uri
string
required
state
string
required
code_challenge
string
required
code_challenge_method
string
default:S256
after_callback_redirect_url
string

Response

200 - application/json

Successful response

redirect_url
string
required