Added auth

This commit is contained in:
2025-06-25 21:57:35 +02:00
parent a240555e39
commit 384f3532ab
27 changed files with 2196 additions and 37 deletions

View File

@@ -0,0 +1,6 @@
import { genericOAuthClient } from "better-auth/client/plugins"
import { createAuthClient } from "better-auth/react"
export const { signIn, signOut, useSession } = createAuthClient({
plugins: [genericOAuthClient()]
})