@emulators/apple
v0.4.1
Published
Sign in with Apple emulation with authorization code flow, PKCE support, RS256 ID tokens, and OIDC discovery.
Readme
@emulators/apple
Sign in with Apple emulation with authorization code flow, PKCE support, RS256 ID tokens, and OIDC discovery.
Part of emulate — local drop-in replacement services for CI and no-network sandboxes.
Install
npm install @emulators/appleEndpoints
GET /.well-known/openid-configuration— OIDC discovery documentGET /auth/keys— JSON Web Key Set (JWKS)GET /auth/authorize— authorization endpoint (shows user picker)POST /auth/token— token exchange (authorization code and refresh token grants)POST /auth/revoke— token revocation
Auth
OIDC authorization code flow with RS256 ID tokens. On first auth per user/client pair, a user JSON blob is included.
Seed Configuration
apple:
users:
- email: [email protected]
name: Test User
oauth_clients:
- client_id: com.example.app
team_id: TEAM001
name: My Apple App
redirect_uris:
- http://localhost:3000/api/auth/callback/apple