Authentication that communicates
Drop-in auth with OAuth, magic links, and MFA — that automatically sends verification emails, password resets, and security alerts. No glue code.
OAuth Providers
Google, Apple, Facebook, and GitHub sign-in with automatic account linking.
Magic Links
Passwordless authentication via secure email links. One click to sign in.
MFA / 2FA
TOTP-based multi-factor authentication with recovery codes and backup options.
Session Management
Configurable session limits, device tracking, and remote session revocation.
Brute Force Protection
Account lockout, rate limiting, and suspicious login detection built in.
Email Verification
Automatic verification emails on signup with configurable flows and templates.
Register users, send emails — one call
User registration automatically triggers verification emails. Password resets send reset links. MFA challenges deliver codes. All through one platform.
register-user.ts
import Zyphr from '@zyphr/sdk';
const zyphr = new Zyphr('zy_live_xxx');
// Register a new user
const { user, session } = await zyphr.auth.register({
email: 'jane@example.com',
password: 's3cur3P@ss',
name: 'Jane Doe',
});
// Zyphr automatically:
// ✓ Creates the user record
// ✓ Sends verification email
// ✓ Returns a session token
// ✓ Fires user.created webhook
// Later: OAuth sign-in
const { user: oauthUser } = await zyphr.auth.oauth({
provider: 'google',
idToken: googleIdToken,
});Frequently asked questions
How does Zyphr auth differ from Auth0?
Zyphr auth is designed to work seamlessly with transactional messaging. When a user registers, the verification email is sent automatically through your configured provider. Password resets, MFA codes, and security alerts all flow through the same platform — no glue code needed.
Can I migrate existing users from another auth provider?
Yes. Zyphr supports bulk user import with bcrypt-hashed passwords. Users can continue using their existing credentials without needing to reset. We provide migration guides for Auth0, Firebase Auth, and Cognito.
Is passwordless authentication supported?
Yes. Zyphr supports magic link authentication where users receive a secure link via email to sign in. The email is sent automatically through your configured email provider — no separate integration needed.
What OAuth providers are supported?
Zyphr supports Google, Apple, Facebook, and GitHub out of the box. Additional providers can be added via the dashboard. Automatic account linking connects OAuth identities to existing email accounts.
