apple

Simulate Apple OAuth and OpenID Connect authentication locally with PKCE and RS256 ID tokens.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/rebornix/emulate --skill apple-rebornix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple
Source: https://github.com/rebornix/emulate/tree/main/skills/apple
Command: npx skills add https://github.com/rebornix/emulate --skill apple-rebornix

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows for local development and testing of Apple OAuth and OIDC without relying on the real Apple APIs, enabling users to test Apple sign-in locally and handle Apple token exchange without network access.

Core Features & Use Cases

  • Emulated Apple Sign-in: Simulate Apple sign-in locally, using a user picker page for selecting seeded users.
  • Apple OIDC Discovery: Provides an OIDC discovery document with all endpoints pointing to the emulator.
  • Token Exchange: Handle Apple token exchange and refresh tokens.
  • OAuth Client Configuration: Configure Apple OAuth clients for local testing.
  • Userinfo Retrieval: Work with Apple userinfo without hitting real Apple APIs.
  • Use Case: A developer can use this Skill to test their application's integration with Apple sign-in, configure OAuth clients, and handle token exchanges without deploying to a live environment.

Quick Start

Use the npx emulate --service apple command to start the Apple emulator on the default port.

Frequently Asked Questions about apple

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

FAQPage Schema
How do I test Apple OAuth and OIDC sign-in locally without hitting real Apple APIs?

You can test Apple sign-in locally by using an emulator that simulates the Apple authorization code flow with PKCE, issues RS256 ID tokens, and provides OIDC discovery endpoints without real network access.

Can I simulate Apple token exchange and refresh tokens during local development?

Yes, local Apple OAuth emulators handle token exchange and generate refresh tokens, allowing you to complete authentication flow testing offline without deploying to a live environment.

Does the Apple OIDC emulator support authorization code flow with PKCE?

Yes, the Apple OIDC emulator supports the authorization code flow with PKCE, ensuring your local development environment accurately mirrors the secure sign-in process required by real Apple OAuth clients.

What is the best way to configure Apple OAuth clients for offline testing?

The best way to configure Apple OAuth clients for offline testing is using a local emulator that provides a user picker page for seeded users and handles userinfo retrieval without real API calls.

How does local Apple OIDC discovery work for development environments?

Local Apple OIDC discovery works by providing a discovery document where all authentication endpoints point to the emulator, allowing OAuth client configuration to resolve locally without real Apple API calls.