feat: initial auth package

This commit is contained in:
Hyteq
2025-06-24 11:31:35 +03:00
parent 30bc2127a2
commit 3b4577e474
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import { createAuthClient } from "better-auth/react";
export const { signIn, signUp, useSession } = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_BETTER_AUTH_URL!,
});