Web Service

Sign in with Apple REST API

Communicate between your app servers and Apple’s authentication servers.


The Sign in with Apple REST API is a web service that connects you to Apple's authentication servers. Use this service to generate and validate the identity tokens used to verify a user’s identity.

To sign in from a web app or other platform, like Android, use Sign in with Apple JS. Alternatively, to let users set up accounts and sign in to your native iOS, macOS, tvOS, and watchOS apps, use the AuthenticationServices framework.


Authentication and Verification of Users

Authenticating Users with Sign in with Apple

Securely authenticate users, and create an account in your app for users to log in to.

Verifying a User

Check the validity and integrity of a user’s identity token.


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.