mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-19 22:25:22 +02:00
18 lines
388 B
TypeScript
18 lines
388 B
TypeScript
import {
|
|
adminClient,
|
|
apiKeyClient,
|
|
organizationClient,
|
|
twoFactorClient,
|
|
} 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(),
|
|
adminClient(),
|
|
],
|
|
});
|