Skip to content

Return from Apple, posted

POST
/api/auth/accounts/callback
curl --request POST \
--url https://forge.example.com/api/auth/accounts/callback \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data code=example \
--data state=example \
--data error=example \
--data user=example

Apple posts its answer back here. Not a call for scripts.

Media typeapplication/x-www-form-urlencoded
object
code
string
state
string
error
string
user
string

Example generated

code=example&state=example&error=example&user=example

Redirects the browser.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}