AppleProvider
Reference doc for the `AppleProvider`.
Use this provider to authenticate with Apple. Supports both OAuth2 and OIDC.
Using OAuth
Using OIDC
Methods
AppleOidcProvider
Parameters
The config for the provider.config
AppleOidcConfig
Returns Provider
Create an Apple OIDC provider.
This is useful if you just want to verify the user’s email address.
AppleProvider
Parameters
The config for the provider.config
AppleConfig
Returns Provider
Create an Apple OAuth2 provider.
AppleConfig
-
clientID
string
-
clientSecret
string
-
query?
Record
<
string
,string
>
-
scopes
string
[]
AppleConfig.clientID
Type string
The client ID.
This is just a string to identify your app.
AppleConfig.clientSecret
Type string
The client secret.
This is a private key that’s used to authenticate your app. It should be kept secret.
AppleConfig.query?
Type Record
<
string
, string
>
Any additional parameters that you want to pass to the authorization endpoint.
AppleConfig.scopes
Type string
[]
A list of OAuth scopes that you want to request.
AppleOidcConfig
AppleOidcConfig.clientID
Type string
The client ID.
This is just a string to identify your app.
AppleOidcConfig.query?
Type Record
<
string
, string
>
Any additional parameters that you want to pass to the authorization endpoint.
AppleOidcConfig.scopes?
Type string
[]
A list of OIDC scopes that you want to request.