diff --git a/docs/content/docs/authentication/apple.mdx b/docs/content/docs/authentication/apple.mdx index a48a73cf..032e16d4 100644 --- a/docs/content/docs/authentication/apple.mdx +++ b/docs/content/docs/authentication/apple.mdx @@ -19,7 +19,6 @@ description: Apple ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { apple } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/discord.mdx b/docs/content/docs/authentication/discord.mdx index 5ffb55a8..baec1d1f 100644 --- a/docs/content/docs/authentication/discord.mdx +++ b/docs/content/docs/authentication/discord.mdx @@ -17,7 +17,6 @@ description: Discord Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { discord } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/facebook.mdx b/docs/content/docs/authentication/facebook.mdx index 33ba8a79..75607c28 100644 --- a/docs/content/docs/authentication/facebook.mdx +++ b/docs/content/docs/authentication/facebook.mdx @@ -17,7 +17,6 @@ description: Facebook Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { facebook } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/github.mdx b/docs/content/docs/authentication/github.mdx index 3ab92dd9..63e35a11 100644 --- a/docs/content/docs/authentication/github.mdx +++ b/docs/content/docs/authentication/github.mdx @@ -17,7 +17,6 @@ description: Github Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { github } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/google.mdx b/docs/content/docs/authentication/google.mdx index a6e037f8..3d943a03 100644 --- a/docs/content/docs/authentication/google.mdx +++ b/docs/content/docs/authentication/google.mdx @@ -17,7 +17,6 @@ description: Google Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { google } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/microsoft.mdx b/docs/content/docs/authentication/microsoft.mdx index 834303ba..fcb081c2 100644 --- a/docs/content/docs/authentication/microsoft.mdx +++ b/docs/content/docs/authentication/microsoft.mdx @@ -20,8 +20,7 @@ Enabling OAuth with Microsoft Azure Entra ID (formerly Active Directory) allows ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { google } from "better-auth/social-providers" - + export const auth = betterAuth({ socialProviders: { // [!code highlight] google: { // [!code highlight] diff --git a/docs/content/docs/authentication/spotify.mdx b/docs/content/docs/authentication/spotify.mdx index a3a31979..968fb2a3 100644 --- a/docs/content/docs/authentication/spotify.mdx +++ b/docs/content/docs/authentication/spotify.mdx @@ -17,7 +17,6 @@ description: Spotify Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { spotify } from "better-auth/social-providers" export const auth = betterAuth({ diff --git a/docs/content/docs/authentication/twitch.mdx b/docs/content/docs/authentication/twitch.mdx index 2c6892b6..cdede8ee 100644 --- a/docs/content/docs/authentication/twitch.mdx +++ b/docs/content/docs/authentication/twitch.mdx @@ -17,7 +17,6 @@ description: Twitch Provider ```ts title="auth.ts" import { betterAuth } from "better-auth" - import { twitch } from "better-auth/social-providers" export const auth = betterAuth({ socialProviders: { // [!code highlight] diff --git a/docs/content/docs/authentication/twitter.mdx b/docs/content/docs/authentication/twitter.mdx index f59f9b07..d094a145 100644 --- a/docs/content/docs/authentication/twitter.mdx +++ b/docs/content/docs/authentication/twitter.mdx @@ -16,8 +16,7 @@ description: Twitter Provider To configure the provider, you need to import the provider and pass it to the `socialProviders` option of the auth instance. ```ts title="auth.ts" - import { betterAuth } from "better-auth" - import { twitter } from "better-auth/social-providers" + import { betterAuth } from "better-auth" export const auth = betterAuth({ socialProviders: {// [!code highlight]