mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
6f86fd1ca9
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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;
|