---
title: "Create cross-domain auth handoff redirect"
method: POST
path: "/auth/oauth/cross-domain/authorize"
tags: ["Oauth"]
---

# Create cross-domain auth handoff redirect

`POST /auth/oauth/cross-domain/authorize`

Creates a one-time OAuth authorization code redirect for cross-domain sign-in handoff using PKCE.

## Headers

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

## Request body

- object
  - `redirect_uri` string, required
  - `state` string, required
  - `code_challenge` string, required
  - `code_challenge_method` 'S256'
  - `after_callback_redirect_url` string

## Response `200`

Successful response

- object
  - `redirect_url` string, required

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
