1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00
Files
jarv.is/lib/auth-client.ts
T
2026-02-19 14:12:42 -05:00

8 lines
208 B
TypeScript

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