Skip to content

`POST /v1/auth/oidc/{provider}/callback`: the same, for a provider that posts its answer (Apple).

POST
/v1/auth/oidc/{provider}/callback
curl --request POST \
--url https://api.updawg.net/v1/auth/oidc/example/callback \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data code=example \
--data error=example \
--data state=example \
--data user=example
provider
required
string

apple, as configured.

Media typeapplication/x-www-form-urlencoded
object
code
string | null
error

GitHub sends this when the person pressed Cancel, and it is not a fault.

string | null
state
string | null
user

Apple only, and only on someone’s first authorization: JSON with their name, which its id_token never carries.

string | null
Examplegenerated
code=example&error=example&state=example&user=example

Redirect back into the portal, signed in or not.

The body is not a form.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}