diff --git a/docs/content/docs/authentication/apple.mdx b/docs/content/docs/authentication/apple.mdx index 032e16d4..9ab0b989 100644 --- a/docs/content/docs/authentication/apple.mdx +++ b/docs/content/docs/authentication/apple.mdx @@ -15,17 +15,17 @@ description: Apple ### Configure the provider - To configure the provider, you need to import the provider and pass it to the `socialProviders` option of the auth instance. + To configure the provider, you need to add it to the `socialProviders` option of the auth instance. ```ts title="auth.ts" import { betterAuth } from "better-auth" export const auth = betterAuth({ socialProviders: { // [!code highlight] - apple({ // [!code highlight] + apple: { // [!code highlight] clientId: process.env.APPLE_CLIENT_ID as string, // [!code highlight] clientSecret: process.env.APPLE_CLIENT_SECRET as string, // [!code highlight] - }), // [!code highlight] + }, // [!code highlight] }, // [!code highlight] }) ```