The provider's return as a form POST (Apple)
POST /v1/auth/oauth/{provider}/callback- who may call it
- Anyone
- no key and no session
- how fresh
- Never cached
- every answer carries the index's height and the node's
- MCP tool
- None
On this page
Sign in with Apple returns the code with response_mode=form_post; the fields and the outcomes are those of the GET.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
provider | path | string | required | The provider: google, github, apple or oidc. One this deployment does not configure is a 404. |
code | body | string | optional | the contract says nothing more of it |
state | body | string | optional | the contract says nothing more of it |
error | body | string | optional | the contract says nothing more of it |
user | body | string | optional | Apple's first-sign-in JSON (name, e-mail); not read, the ID token carries the address. |
The body is application/x-www-form-urlencoded.
schema
codestringstatestringerrorstringuserstring — Apple's first-sign-in JSON (name, e-mail); not read, the ID token carries the address.
What it answers
302
The browser lands on the explorer.
Headers: Location
Errors
| Status | Code | When |
|---|---|---|
| 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. |
Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.
Example
No snippet. This route is a step of signing in, which runs in your browser on btcintel.io, so no snippet can run it from a shell. See Identity.