Documentation / zerotal / auth / AppleOAuth2Config
Interface: AppleOAuth2Config
Defined in: packages/auth/src/social/types.ts:62
Apple-specific config. Supply either clientSecret (a pre-signed JWT) or
the three raw Apple credentials — the driver will sign the JWT automatically
using the Web Crypto API (no external dependency needed).
Extends
Properties
clientId
clientId:
string
Defined in: packages/auth/src/social/types.ts:48
OAuth2 client / application ID issued by the provider.
Inherited from
clientSecret?
optionalclientSecret?:string
Defined in: packages/auth/src/social/types.ts:50
Static client secret, or omit for Apple and supply teamId/keyId/privateKey instead.
Inherited from
redirectUrl
redirectUrl:
string
Defined in: packages/auth/src/social/types.ts:52
Fixed callback URL, matching the one registered with the provider.
Inherited from
scopes?
optionalscopes?:string[]
Defined in: packages/auth/src/social/types.ts:54
Scopes to request; when omitted the driver's defaultScopes() are used.
Inherited from
teamId?
optionalteamId?:string
Defined in: packages/auth/src/social/types.ts:64
Your Apple Developer Team ID (10-character string).
keyId?
optionalkeyId?:string
Defined in: packages/auth/src/social/types.ts:66
The Key ID of the private key created in App Store Connect.
privateKey?
optionalprivateKey?:string
Defined in: packages/auth/src/social/types.ts:71
PEM-encoded PKCS#8 ES256 private key downloaded from App Store Connect. Include the full -----BEGIN PRIVATE KEY----- / -----END PRIVATE KEY----- block.