Skip to main content
Backdrift provides a fully managed authentication system out of the box. No OAuth configuration, no JWT libraries, no security vulnerabilities.

What You Get

User Signup

Self-service registration with email verification

Secure Login

Password authentication with brute-force protection

Password Reset

Secure password recovery via email

JWT Tokens

Access and refresh tokens with configurable expiry

Roles & Permissions

Define roles in your prompt, and Backdrift enforces them at the API level:
This generates:

Authorization Levels

Every endpoint has an authorization level:

Example

Multi-Tenancy

For SaaS applications, Backdrift automatically isolates data by tenant:
This configures:
  • Organization Entity - Tenant boundary
  • Auto-Filtering - All queries filtered by org_id
  • JWT Claims - Tenant ID embedded in tokens

How It Works

  1. User signs up and creates an organization
  2. User’s JWT includes org_id claim
  3. Every API request is filtered by org_id
  4. User in Org A cannot access data from Org B

Password Policies

Backdrift enforces secure password policies:
  • Minimum 8 characters
  • Requires uppercase letter
  • Requires lowercase letter
  • Requires number
  • Requires special character (optional)

Token Configuration

Using Authentication

Sign Up

Login

Response:

Make Authenticated Requests

Coming Soon

  • Social login (Google, GitHub, Apple)
  • SAML/OIDC federation
  • Multi-factor authentication (MFA)
  • API keys for machine-to-machine auth

Data Modeling

Learn how to define entities and relationships.