PearPear

Start signing in with X

Returns the X authorization URL to send the browser to. The flow finishes at the callback below, which returns the browser to `returnTo`.

POST
/auth/login/x/start

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Start of the X sign-in flow

Response Body

application/json

curl -X POST "https://example.com/auth/login/x/start" \  -H "Content-Type: application/json" \  -d '{    "handoffId": "login-2f8a1c",    "handoffChallenge": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"  }'
{  "authorizeUrl": "string"}