Multi-tenant auth with social login, passkeys, TOTP 2FA, RBAC, SCIM provisioning, and a self-service customer portal — deploy once, scale everywhere.
Stop building authentication from scratch. AuthNex provides every piece you need, secured by default.
Isolated user pools, roles, and API keys per tenant. Self-service signup with plan-based limits.
Google, Microsoft, and GitHub OAuth built in. Tenants can bring their own credentials for branded consent screens.
Passwordless authentication with platform authenticators. Register, authenticate, and manage multiple passkeys per user.
RFC 6238 compliant TOTP with backup codes. Uses async crypto.subtle for proper HMAC-SHA1.
Enterprise IdP user sync via standard SCIM protocol. Auto-create, update, and deactivate users.
Flexible role-based access control with custom permissions. System roles plus tenant-scoped roles.
RS256-signed JWTs, JWKS endpoint, and OpenID Connect discovery. Standard token refresh flows.
Per-tenant logo, colors, and app name. SDK widget automatically fetches and applies your branding.
Full audit trail for every auth event. Analytics dashboards for login trends, anomalies, and security insights.
Add authentication to any app with a few lines of code. REST API, JS SDK, and PHP SDK available.
Standard HTTP endpoints for login, registration, token refresh, social auth, 2FA, and more. Use from any language or framework.
// Login and get JWT tokens const res = await fetch('https://your-worker.dev/api/auth/login', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email: 'user@company.com', password: 'secure-password', tenant_slug: 'acme-corp' }) }); const { access_token } = await res.json(); // Use token for protected requests const profile = await fetch('/api/user/profile', { headers: { Authorization: `Bearer ${access_token}` } });
Start free, upgrade when you grow. No hidden fees.
Create your free account and start integrating in minutes.