API reference/Auth
Sign in with an Apple ID token
POST
/v1/auth/apple/token
For iOS apps. Returns a session like POST /v1/auth/login, or 202 with a second-factor challenge.
Body
application/json
id_tokenstringrequired
identityToken from ASAuthorizationAppleIDCredential
maxLength: 16384
noncestringrequired
From POST /v1/auth/apple/nonce, before hashing
maxLength: 256
authorization_codestring
authorizationCode, exchanged for a refresh token revoked when the account is deleted
maxLength: 4096
namestring
fullName, which Apple gives only the first time
maxLength: 200
transportstring
bearer (native apps): the token in the response; cookie: an HttpOnly session cookie
one of: cookie, bearerdefault: "bearer"
Responses
errors: application/problem+json
Match errors on the problem's code, which stays the same, not on its message.