1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-27 18:05:41 -04:00
Files
jarv.is/lib/auth-client.ts
2025-05-14 09:49:55 -04:00

9 lines
233 B
TypeScript

import { env } from "@/lib/env";
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
baseURL: env.NEXT_PUBLIC_BASE_URL,
});
export const { signIn, signUp, useSession } = authClient;