Files
kan/packages/auth/src/clients.ts
2025-05-31 23:59:48 +01:00

7 lines
228 B
TypeScript

import { apiKeyClient, magicLinkClient } from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
plugins: [magicLinkClient(), apiKeyClient()],
});