© 2026 Hedgehog Software, LLC
import { createAuthClient } from "better-auth/react"; export const { signIn, signUp, useSession, sendVerificationEmail } = createAuthClient();
useSession
TypeError: Invalid URL /get-session. Are you passing in a relative URL but not setting the baseURL?
baseURL