formscn
libauth-clientsource: ok · refreshed
Auth Client
Better Auth React client utilities
npx shadcn add "https://www.formscn.space/r/auth-client.json"free
No selection tags yet — empty means no evidence, not lack of support.
Dependencies
Bundle weight · lightbetter-auth
Files1 · source cached 10/8/2026, 4:07:54 AM
src/registry/default/lib/auth-client.ts
import { createAuthClient } from "better-auth/react";
export const { signIn, signOut, signUp, useSession } = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000",
});