Skip to main content
// Auth configuration — auto-resolves the user's single fullstack app (or pass { appId })
await naive.auth.getConfig();
await naive.auth.updateConfig({ site_url: "https://myapp.com", external_google_enabled: true });

// Admin user management (GoTrue)
await naive.auth.users.create({ email: "user@example.com", password: "..." });
await naive.auth.users.list();
await naive.auth.users.get("user-uuid");
await naive.auth.users.delete("user-uuid");
Requires a type: "fullstack" app. Per-user and AccountKit-gated: naive.auth or naive.forUser(id).auth. Admin operations use the service-role key (privileged) — disable the auth primitive in an Account Kit to keep agents away from end-user accounts. See the Auth guide.