qmetrics.net

OpenFGA

Fine-grained authorization engine inspired by Zanzibar

OpenFGA screenshot

OpenFGA is an authorization and permission engine with HTTP and gRPC APIs, pluggable storage, and a modeling playground for relationship-based access checks.

Overview

OpenFGA is a high-performance authorization engine inspired by Google Zanzibar. It helps application teams model fine-grained permissions and answer check queries about whether a user or subject may perform an action on a resource.

The server exposes developer-oriented HTTP and gRPC APIs. Storage backends include in-memory for quick trials, plus PostgreSQL, MySQL, and a beta SQLite adapter for persistent deployments. A built-in Playground supports modeling, visualization, and testing of authorization setups on local instances.

Operators can run prebuilt container images, Homebrew packages, or binaries, or compile from Go source. Documentation covers authorization models, relationship tuples, check calls, and adding authentication to the server. SDKs exist for common languages to embed checks alongside application code. The project is a CNCF incubating effort with community RFC and governance processes.

Key features

  • Relationship-based access control modeling
  • HTTP and gRPC authorization APIs
  • PostgreSQL, MySQL, SQLite, in-memory stores
  • Local Playground for model testing
  • Docker and Docker Compose deployment
  • CLI and Homebrew installation options
  • SDKs for popular programming languages
  • Tuple writes and authorization checks

Use cases

  • Fine-grained permissions in multi-tenant apps
  • ReBAC-style sharing and inheritance rules
  • Central policy service for microservices
  • Evaluating auth models before production
  • Self-hosted alternative to hosted FGA services

Does the same job as

OpenFGA doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare OpenFGA

Similar software

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

  • Single sign-on across applications
  • OpenID Connect, OAuth 2.0, and SAML
  • Social login and identity brokering
JavaDockerDetails →
★ 38.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

JumpServer

Open-source bastion host for privileged access

JumpServer is a privileged access management platform that unifies secure access to SSH, RDP, Kubernetes, databases, and web assets.

  • SSH and RDP session access
  • Kubernetes pod connections
  • Database connector via web
PythonWeb, Linux, DockerDetails →
★ 32.1k⟳ todayGPL-3.0
Open Source Alternative to:BeyondTrust

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
TypeScriptDetails →
★ 31k⟳ todayMIT
Open Source Alternative to:Amazon CognitoAuth0+3

Authelia

Self-hosted SSO portal with multi-factor authentication

Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.

  • OpenID Connect and OAuth 2.0 provider
  • WebAuthn passkeys and FIDO2 keys
  • TOTP and Duo push second factors
GoWeb, DockerDetails →
★ 29.8k⟳ 2 days agoApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

Auth.js

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

  • OAuth 2.0 and OIDC providers
  • Email and passwordless sign-in
  • WebAuthn passkey support
TypeScriptDetails →
★ 28.4k⟳ 4 months agoISC
Open Source Alternative to:Amazon CognitoAuth0+4

authentik

Self-hosted identity provider for SSO protocols

authentik centralizes authentication with SAML, OAuth2, OIDC, LDAP, RADIUS, and related flows. It targets small labs through production clusters you deploy yourself.

  • SAML and OAuth2/OIDC
  • LDAP and RADIUS
  • Application proxy
PythonDockerDetails →
★ 26.6k⟳ todayMIT · open core
Open Source Alternative to:Amazon CognitoAuth0+7