mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-11 11:25:35 -04:00
8 lines
208 B
TypeScript
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;
|