Everything you need to build secure, scalable applications with modern authentication patterns.
Built-in authentication, security, and management tools for modern applications
Eliminate password vulnerabilities with anonymous sign-in, email OTP, phone OTP, and Google One Tap.
Built-in organization management with role-based access control and granular permissions.
Lightning-fast authentication powered by Cloudflare Workers at 275+ edge locations worldwide.
Framework-specific SDKs for React, Next.js, React Native, Node.js, and vanilla JavaScript.
Secure token-based sessions with built-in device fingerprinting and risk scoring.
Comprehensive analytics, audit logs, and Sentry integration for production visibility.
Eliminate password-related vulnerabilities entirely. PersonQL provides multiple passwordless authentication methods that are more secure and easier to use than traditional passwords.
// Sign in with email OTP
await personql.auth.signInWithEmailOTP({
email: 'user@example.com'
});
// Verify OTP code
const session = await personql.auth.verifyEmailOTP({
email: 'user@example.com',
code: '123456'
});
// Anonymous sign-in
const anonSession = await personql.auth.anonymous();
// Create organization
const org = await personql.organizations.create({
name: 'Acme Corp',
plan: 'professional'
});
// Add member with role
await personql.organizations.addMember({
organizationId: org.id,
userId: user.id,
role: 'admin'
});
// Check permissions
if (hasPermission('billing:manage')) {
// Show billing settings
}
Create SaaS applications with full multi-tenancy support out of the box. Manage organizations, teams, roles, and permissions without building it yourself.
Built entirely on Cloudflare Workers, PersonQL runs at 275+ edge locations worldwide. Your authentication requests are processed at the edge nearest to your users for minimal latency.
// Automatic session security
const session = await personql.auth.getSession();
// Built-in features:
// ✓ Device fingerprinting
// ✓ Risk scoring
// ✓ Rate limiting (300 req/min)
// ✓ Audit logging
// ✓ IP tracking
// ✓ Security headers
// Monitor security events
personql.events.on('security.risk', (event) => {
if (event.riskScore > 80) {
// Take action on high-risk request
}
});
Multiple layers of security protection built-in and active by default. PersonQL handles security so you don't have to think about it.
Native SDKs for every major platform with full TypeScript support. Get started in minutes with hooks, components, and utilities designed for your framework.
// React SDK
import { useAuth } from '@personql/react';
function App() {
const { user, signIn, signOut } = useAuth();
return <Dashboard user={user} />;
}
// Next.js middleware
export default withOrganization((req) => {
const orgId = getOrganizationId(req);
// Your protected route logic
});
// Node.js backend
const personql = new PersonQL({
apiKey: process.env.PERSONQL_API_KEY
});