© 2026 Hedgehog Software, LLC
BetterAuthError: Invalid base URL: http://localhost:3000. URL must include 'http://' or 'https://'
http://localhost:3000
src/lib/auth-client.ts
import { createAuthClient } from "better-auth/lynx"; export const authClient = createAuthClient({ baseURL: "http://localhost:3000", });
ReferenceError: Request is not defined
authClient.useSession()