Avycenna

Apple Sign In — web callback

Apple form-posts here after consent. Verifies the identity token, upserts the user, then redirects to the web app with Avycenna tokens in the URL fragment.

POST
/api/v1/auth/oauth/apple/callback

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/oauth/apple/callback" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}