Apple
Get your OAuth credentials
To use Apple sign in, you need a client ID and client secret. You can get them from the Apple Developer Portal.
Apple requires a little harder setup to get a client secret. You can use the guide below to get your client secret.
Creating a client secret
Configure the provider
To configure the provider, you need to add it to the socialProviders
option of the auth instance.
Signin with Apple
To signin with Apple, you can use the signIn.social
function provided by the client. The signIn
function takes an object with the following properties:
provider
: The provider to use. It should be set toapple
.