Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Handle Apple sign in

Handles sign in with the apple.

POST/{apiBasePath}/callback/apple
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
Request body
application/x-www-form-urlencoded
codestring
The Authorization code which will be exchanged for an access token
statestring
A unique string used to mitigate CSRF attacks
Responses
303Redirects the user to the client's app.
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Bodyapplication/x-www-form-urlencoded
Request
curl -X POST "/auth/callback/apple" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d '{
  "code": "string",
  "state": "string"
}'
Response
Redirects the user to the client's app.

API reference

API schema and response details