mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
10 lines
433 B
TypeScript
10 lines
433 B
TypeScript
import { organizationClient } from "better-auth/client/plugins";
|
|
import { twoFactorClient } from "better-auth/client/plugins";
|
|
import { apiKeyClient } from "better-auth/client/plugins";
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
export const authClient = createAuthClient({
|
|
// baseURL: "http://localhost:3000", // the base url of your auth server
|
|
plugins: [organizationClient(), twoFactorClient(), apiKeyClient()],
|
|
});
|