Added google auth and some auth page ui optimisations

This commit is contained in:
Deepanshu Mishra
2025-06-23 22:51:34 +05:30
parent 13817a5ff8
commit 8bcd226bdb
7 changed files with 254 additions and 83 deletions

View File

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