Skip to main content

Admin Quickstart

1. Create an Admin Account​

Open the admin dashboard and create your first account.

  • The first admin to sign up automatically becomes superadmin
  • Subsequent signups are regular admins until a superadmin promotes them

2. Create a Project​

From the dashboard, click "New Project" and fill in:

FieldDescription
NameHuman-readable project name
Product Typeweb, app, extension, api, or other
DomainPrimary domain of your product

After creation, the dashboard shows the project's API key pair:

  • Public Key (pk_...) — Identifies the project to the API
  • Secret Key — Shown once; stored as a hash. Copy it immediately.

3. Configure Auth Methods​

In the project's Auth Methods section, you can toggle:

  • Email/Password — Standard signup/login
  • Email Verification — Require users to verify their email
  • Password Reset — Allow users to reset passwords
  • Magic Link — Passwordless sign-in via email
  • TOTP 2FA — Two-factor authentication with authenticator apps

Security Policies​

Configure per-project:

SettingDefaultDescription
Password Minimum Length10Minimum password character count
Allowed Origins[]CORS origins (empty = unrestricted)
Blocklisted Domains[]Email domains rejected at signup
Whitelisted Domains[]Email domains exclusively allowed
Blocklisted Usernames[]Usernames/emails rejected at signup
Lockout EnabledtrueAccount lockout on failed attempts
Lockout Max Attempts5Failed attempts before lock
Lockout Window (min)15Lockout duration

Redirect URLs​

Configure where users are redirected after email actions:

  • Login URL — Post-magic-link redirect
  • Email Verified URL — Post-verification redirect
  • Password Reset URL — Where users set a new password

4. Create Custom User Fields​

In the User Fields section, define additional fields to collect at signup:

FieldDescription
NameInternal field name (e.g., company_name)
LabelDisplay label (e.g., "Company Name")
Typetext, number, boolean, or date
RequiredWhether the field is mandatory
Default ValueDefault when not provided
Sort OrderDisplay order in forms

5. Configure Webhooks​

In the Webhooks section, create endpoints that receive auth events:

Available events:

EventWhen It Fires
user.signupNew user registered
user.loginUser logged in
user.login_failedLogin attempt failed
user.lockedAccount was locked
user.unlockedAccount was unlocked
user.suspendedUser was suspended
user.reactivatedUser was reactivated
user.email_verifiedEmail was verified
user.password_resetPassword was reset
user.totp_enabledTOTP was enabled
user.totp_disabledTOTP was disabled
session.createdNew session created
session.revokedSession was revoked

6. Customize Email Templates​

In the Email Templates section, customize the look and feel of auth emails:

PurposeDescription
email_verificationEmail verification message
password_resetPassword reset message
magic_linkMagic sign-in link message
force_password_resetAdmin-forced password reset

Templates use {{variable}} placeholders:

  • {{project_name}} — Project display name
  • {{action_url}} — The action link URL
  • {{expires_in}} — Token expiration time
  • {{preheader}} — Email preheader text

7. Review Audit Logs​

The Audit Logs section shows a chronological event stream for each project. Each entry includes the actor, event type, timestamp, and metadata.

8. Superadmin Actions​

Superadmins can:

  • View all projects across the platform
  • View all users across all projects
  • Suspend/reactivate any project or user
  • Unlock locked user accounts
  • Reset user TOTP
  • Force password reset for any user
  • Set platform-wide default email templates