The provider's return as a form POST (Apple)
POST /v1/auth/oauth/{provider}/callback- quién puede llamarla
- Cualquiera
- sin clave y sin sesión
- cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
Sign in with Apple returns the code with response_mode=form_post; the fields and the outcomes are those of the GET.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
provider | ruta | string | obligatorio | The provider: google, github, apple or oidc. One this deployment does not configure is a 404. |
code | cuerpo | string | opcional | el contrato no dice más de él |
state | cuerpo | string | opcional | el contrato no dice más de él |
error | cuerpo | string | opcional | el contrato no dice más de él |
user | cuerpo | string | opcional | Apple's first-sign-in JSON (name, e-mail); not read, the ID token carries the address. |
El cuerpo es application/x-www-form-urlencoded.
esquema
codestringstatestringerrorstringuserstring — Apple's first-sign-in JSON (name, e-mail); not read, the ID token carries the address.
Qué responde
302
The browser lands on the explorer.
Cabeceras: Location
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 404 | not_found | not_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which. |
| 501 | not_configured | not_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it. |
Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.
Ejemplo
Sin fragmento. Esta ruta es un paso del inicio de sesión, que ocurre en tu navegador en btcintel.io, así que ningún fragmento puede ejecutarla desde una shell. Ver Identidad.