generated from pure_sagacity/turborepo-starter-project
Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { createAuthClient } from "better-auth/client";
|
||||
import { adminClient } from "better-auth/client/plugins";
|
||||
import { passkeyClient } from "@better-auth/passkey/client";
|
||||
|
||||
export const authClient = createAuthClient({
|
||||
baseURL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000",
|
||||
basePath: "/auth",
|
||||
plugins: [
|
||||
adminClient(),
|
||||
passkeyClient(),
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user