apple

Simulates Apple sign-in and OAuth authentication locally for development with OIDC discovery, token exchange, revocation, and customizable user/client seeding via CLI command 'npx emulate --service apple'.

1.5k|108|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/vercel-labs/emulate --skill apple-vercel-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple
Source: https://github.com/vercel-labs/emulate/tree/main/skills/apple
Command: npx skills add https://github.com/vercel-labs/emulate --skill apple-vercel-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a local development environment for Apple sign-in and OAuth, allowing users to test Apple authentication flows without relying on real Apple APIs.

Core Features & Use Cases

  • Emulated Apple Sign-In: Simulate the Apple sign-in process with authorization code flow and PKCE support.
  • OIDC Discovery: Provide local OpenID Connect discovery to configure clients.
  • Token Exchange and Revocation: Handle token exchange for access and refresh tokens, as well as token revocation.
  • Customizable User and Client Configuration: Seed configurations for users and OAuth clients can be defined.
  • Use Case: Ideal for developers building applications that use Apple sign-in and need to test locally without direct access to Apple's production environment.

Quick Start

Start the Apple service with the command 'npx emulate --service apple'.

Frequently Asked Questions about apple

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Apple sign-in locally without hitting production APIs?

You can test Apple sign-in locally by running an emulated service that simulates the authorization code flow with PKCE support, allowing you to develop without actual Apple infrastructure.

What is OIDC discovery and does it work with local Apple OAuth emulation?

OIDC discovery provides a local OpenID Connect configuration endpoint, enabling OAuth clients to automatically find the necessary endpoints for token exchange and revocation during local development.

Can I customize user and client configurations when simulating Apple OAuth?

Yes, you can define seed configurations for users and OAuth clients to simulate various Apple sign-in scenarios, ensuring your local testing environment matches your application's specific authentication requirements.

How to start an emulated Apple sign-in service for local development?

Start the emulated Apple sign-in service by executing the command 'npx emulate --service apple', which initializes the local OAuth and OIDC environment for testing authentication flows.

Does local Apple OAuth emulation support token exchange and revocation?

Yes, the local Apple OAuth emulation handles token exchange for both access and refresh tokens, along with token revocation, providing a complete simulation of Apple's authentication lifecycle.

Why do I need a local Apple sign-in emulator for my development environment?

A local Apple sign-in emulator is needed to test authentication flows independently, avoiding rate limits, network dependencies, and configuration complexities associated with direct access to Apple's production environment.