Skip to content

Introduction to Authrim

Authrim is an edge-native Identity & Access Platform built on Cloudflare Workers. It provides a unified solution for authentication, authorization, and identity federation.

Authrim combines three core capabilities into a single platform:

  • Authentication (AuthN): Verify user identities through OIDC, OAuth 2.0, SAML 2.0, WebAuthn/Passkeys, and more
  • Authorization (AuthZ): Control access with RBAC, ABAC, and ReBAC policy engines
  • Identity Federation: Connect multiple identity providers and manage user identities across systems

“Identity & Access at the edge of everywhere”

Authrim’s goal is to make identity management as simple as deploying a website. It uses Cloudflare Workers, Service Bindings, Durable Objects, KV, and D1 so identity services can be deployed and operated close to your applications without adopting a centralized SaaS control plane.

Unlike traditional centralized identity providers, Authrim is designed for Workers-native deployment:

  • Workers-native routing: Core endpoints are split across workers and connected through Service Bindings
  • Durable state: Sessions, auth codes, PAR requests, DPoP JTIs, device codes, CIBA requests, and SAML flow state use Durable Objects
  • Runtime storage profiles: Deploy with shared D1, tenant D1, or external database-backed storage profiles

No need to integrate multiple services:

  • Authentication + Authorization in one platform
  • Built-in policy engine with real-time evaluation
  • Token-embedded permissions for offline authorization
  • Admin, audit, PII, and tenant runtime data separated by explicit storage boundaries
  • Apache 2.0 License: Use freely in any project
  • No Vendor Lock-in: Full control over your identity data
  • Cost-Transparent: Authrim has no per-user vendor fee; infrastructure cost depends on your Cloudflare usage and selected storage profile

Recommended Use Cases:

  • Research and evaluation
  • Development and testing
  • Non-critical applications

Ready to get started? Continue to the Quickstart Guide to set up your first Authrim instance.