apple

Simulate Apple sign-in and OIDC flows for local development.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a local environment to simulate Apple sign-in and OpenID Connect (OIDC) for development and testing purposes, allowing users to test Apple sign-in locally without hitting real Apple APIs.

Core Features & Use Cases

  • Local Apple Sign-In: Simulate the Apple sign-in process with authorization code flow and PKCE support.
  • OIDC Discovery: Emulate Apple OIDC discovery endpoints for local testing.
  • Token Exchange: Handle Apple token exchange and configure Apple OAuth clients.
  • Userinfo Handling: Work with Apple userinfo without using real Apple APIs.
  • Use Case: Ideal for testing Apple sign-in functionality in a CI/CD pipeline or in a development environment where network access to Apple services is restricted.

Quick Start

Start the Apple sign-in emulator 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 real Apple APIs?

Apple sign-in simulation handles OIDC discovery endpoints, RS256 ID tokens, token exchange, and userinfo locally. It supports the authorization code flow with PKCE to securely emulate Apple OAuth clients during development.

What's the best way to simulate Apple OAuth and OIDC in a CI/CD pipeline?

Simulating Apple OAuth and OIDC in a CI/CD pipeline is best achieved using a local emulator. It handles token exchange and userinfo configuration locally, bypassing the need for real Apple API network access in restricted environments.

Can I use an emulator for Apple OIDC discovery and token exchange?

To start the Apple sign-in emulator, you need Bash and specific tools like npx and emulate. Run the command `npx emulate --service apple` to launch the local simulation environment for testing.

Do I need Bash and npx to run the Apple sign-in emulator?

Yes, you need Bash and specific tools like npx and emulate to run the Apple sign-in emulator. These dependencies are required to start the local simulation environment via the `npx emulate --service apple` command.

Why use a local emulator for Apple sign-in instead of real Apple APIs?

Using a local emulator for Apple sign-in avoids rate limits and network restrictions of real Apple APIs. It provides a controlled local environment to test authorization code flows, PKCE, and RS256 ID tokens safely.