Web Service

Sign In with Apple REST API

Integrate Sign In with Apple with your application.

Overview

The Sign In with Apple REST API is a web service that connects you to Apple's authentication servers. Use this service to onboard new users quickly and securely, allow them to log into your website with their Apple ID, and verify a user session with two-factor authentication.

Topics

Endpoints

Fetch Apple's public key for verifying token signature

Fetch Apple’s public key to verify the ID token signature.

Generate and validate tokens

Validate the authorization grant code with Apple to obtain tokens or validate an existing refresh token.

Common Objects

object JWKSet

A set of JSON Web Key objects.

object TokenResponse

The response token object returned on a successful request.

object ErrorResponse

The error object returned after an unsuccessful request.