Authentication for modern applications
API-first authentication platform that lets you add secure auth to your app in minutes. Email, OAuth, MFA, Organizations — all with type-safe SDKs.
import { AuthSetu } from "@authsetu/sdk";
const auth = new AuthSetu({
clientKey: "pk_live_...",
secretKey: "sk_live_...",
});
// Register a new customer
const customer = await auth.register({
email: "dev@example.com",
password: "secure-password",
});Trusted by developers building the future
Everything you need for auth
From basic email login to enterprise SSO — AuthSetu provides a complete authentication toolkit, so you can focus on your product.
Email & Password
Secure registration with password validation, hashing, and email verification built in.
Magic Links
Passwordless sign-in with time-limited, single-use email links.
Email OTP & MFA
Multi-factor authentication with email-based one-time passwords for extra security.
Social OAuth
Let users sign in with Google, GitHub, and more. Easy to configure, secure by default.
Organizations
Multi-tenant team management with invites, roles, and ownership transfers.
API Keys
Publishable and secret key pairs with scopes, rotation, and expiration controls.
Customer Management
Full user lifecycle — create, update, search, metadata, and session management.
Audit Logs
Track every authentication event, login attempt, and security-relevant action.
RBAC
Role-based access control with granular permissions for fine-grained authorization.
Three lines of code. That's it.
Install the SDK, initialize with your keys, and call any auth method. Every endpoint is fully typed with autocompletion out of the box.
import { auth } from "./authsetu";
// Authenticate a user
const session = await auth.login({
email: "dev@example.com",
password: "secure-password",
});
// Access token ready to use
console.log(session.accessToken);
// Get current user
const me = await auth.me();Built for developers, by developers
Every design decision prioritizes developer experience without compromising on security.
API-First Design
Every feature is an API endpoint. Build any experience on top of AuthSetu.
Type-Safe SDKs
First-class TypeScript support with full autocompletion and type inference.
Comprehensive Docs
OpenAPI spec, interactive examples, and quick-start guides for every SDK.
Up and running in minutes
Three simple steps to production-ready authentication.
Create a Project
Sign up, create an organization, and get your API keys in under a minute.
Install the SDK
Add AuthSetu to your app with a single package install. Three lines of code.
Ship Secure Auth
Your users can sign up, sign in, and manage their accounts. You ship faster.
Simple, transparent pricing
Free for side projects. Scalable for production. No hidden fees.