mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
docs: remove provider imports
This commit is contained in:
@@ -19,7 +19,6 @@ description: Apple
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { apple } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Discord Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { discord } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Facebook Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { facebook } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Github Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { github } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Google Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { google } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ Enabling OAuth with Microsoft Azure Entra ID (formerly Active Directory) allows
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { google } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Spotify Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { spotify } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Twitch Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { twitch } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: { // [!code highlight]
|
socialProviders: { // [!code highlight]
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ description: Twitter Provider
|
|||||||
|
|
||||||
```ts title="auth.ts"
|
```ts title="auth.ts"
|
||||||
import { betterAuth } from "better-auth"
|
import { betterAuth } from "better-auth"
|
||||||
import { twitter } from "better-auth/social-providers"
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
socialProviders: {// [!code highlight]
|
socialProviders: {// [!code highlight]
|
||||||
|
|||||||
Reference in New Issue
Block a user