Verify an Apple ID token for SSO sign-up

post/api/v2/apple/oauth/verify

Validates the Apple-issued ID token, checks for account conflicts (duplicate Apple subject or email already in use), creates the user via SSO sign-up, and links the Apple account.

Request Body

id_token string required
The ID token issued by Apple.
intent string required
The intent of the OAuth flow: 'signup' only
Allowed value: signup
first_name string
The user's first name (provided by Apple on first authorization)
last_name string
The user's last name (provided by Apple on first authorization)
acceptTOS boolean
Whether the user has accepted the Terms of Service

200 Response

accessToken string required
expires number required
refreshToken string

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

409 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id