`POST /v1/auth/oidc/{provider}/callback`: the same, for a provider that posts its answer (Apple).
POST
/v1/auth/oidc/{provider}/callback
const url = 'https://api.updawg.net/v1/auth/oidc/example/callback';const options = { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams({code: 'example', error: 'example', state: 'example', user: 'example'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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=exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider
required
string
apple, as configured.
Request Bodyrequired
Section titled “Request Bodyrequired”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=exampleResponses
Section titled “Responses”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"}