Entries
97
Updated
Source
kanywst/awesome-authorization
License
CC0 1.0

Awesome Authorization

Determining what an authenticated user or service is permitted to do. Policy engines, standards, managed services, access control models, and write-ups from teams that built it.

1Policy Engines & Frameworks

1.1General Purpose

  • OPA (Open Policy Agent)openpolicyagent.org

    CNCF graduated. General-purpose policy engine with its own language (Rego).

  • Cedarcedarpolicy.com

    Policy language and engine by AWS, now a CNCF Sandbox project. Designed to be analyzable and expressive.

  • Casbincasbin.apache.org

    Supports ACL, RBAC, ABAC, etc. Has adapters for many languages and storage backends. Apache Incubating project.

  • Cerboscerbos.dev

    Self-hosted authorization layer. Policies are defined in YAML/JSON with built-in testing support.

  • Keeps policies and data in sync across policy engines in real time.

  • Pomeriumpomerium.com

    Identity-aware reverse proxy that enforces context-aware authorization policies.

  • Biscuitbiscuitsec.org

    Capability-based authorization token format with Datalog policies, offline verification, and bearer-side attenuation.

1.2Zanzibar-Based

Inspired by Google Zanzibar, Google's global authorization system built around relationship-based access control.

  • SpiceDBgithub.com/authzed/spicedb

    Zanzibar-inspired database for fine-grained permissions by Authzed.

  • OpenFGAgithub.com/openfga/openfga

    Fine-grained authorization engine, originally from Auth0. CNCF Incubating project.

  • Permifygithub.com/Permify/permify

    Zanzibar-inspired authorization service for fine-grained access control. Acquired by FusionAuth in 2025.

  • Ory Ketogithub.com/ory/keto

    Go implementation of Zanzibar. Part of the Ory ecosystem.

  • Topazgithub.com/aserto-dev/topaz

    Open-source authorizer combining the Zanzibar model with OPA.

1.3Kubernetes-Native

  • OPA Gatekeepergithub.com/open-policy-agent/gatekeeper

    Kubernetes admission controller using OPA policies.

  • Kyvernokyverno.io

    Kubernetes-native policy engine for validation, mutation, and generation.

  • Kubewardenkubewarden.io

    Policy engine for Kubernetes using WebAssembly.

  • Built-in Kubernetes admission policies written in CEL and evaluated in the API server, with no webhook. Stable since Kubernetes 1.30.

1.4Data Platforms

  • Apache Rangerranger.apache.org

    Centralized authorization and auditing for data platforms such as HDFS, Hive, Trino, and Kafka, with row filtering and column masking.

1.5AuthZEN Implementations

  • Cerbos

    Has AuthZEN PDP API support. See General Purpose.

  • Topaztopaz.sh

    Has AuthZEN evaluation API support. See Zanzibar-Based.

  • Keycloakkeycloak.org

    Ships experimental AuthZEN PDP support as of Keycloak 26.7, exposing the evaluation API and /.well-known/authzen-configuration.

1.6Language-Specific Libraries

  • Security framework for Java/Spring. Handles both authn and authz.

  • Apache Shiroshiro.apache.org

    Java security framework covering authn, authz, crypto, and session management.

  • Punditgithub.com/varvet/pundit

    Simple authorization for Ruby on Rails using plain Ruby objects.

  • CanCanCangithub.com/coorasse/cancancan

    Ruby on Rails authorization. Define what users can and cannot do.

  • CASLcasl.js.org

    Isomorphic JavaScript/TypeScript authorization supporting ABAC.

  • Authzed Client Librariesgithub.com/authzed

    Official SpiceDB clients for Go, Python, Java, Ruby, and Node.js.

  • django-guardiangithub.com/django-guardian/django-guardian

    Per-object permissions for Django, stored in the database.

  • Gates and policies for authorization in Laravel.

2Standards & Specifications

2.1OpenID AuthZEN

2.2Identity & Federation

2.3Agent & AI Authorization

  • MCP Authorizationmodelcontextprotocol.io

    OAuth 2.1-based authorization model in the Model Context Protocol. Defines how AI clients obtain and present tokens to MCP servers.

  • Best-practice framework for authenticating and authorizing AI agents by composing SPIFFE/WIMSE, OAuth, Transaction Tokens, and AuthZEN. Defines no new protocol. IETF WIMSE WG draft.

2.4Workload Identity

  • SPIFFEspiffe.io

    Secure Production Identity Framework for Everyone. Provides cryptographic identity to workloads (CNCF).

  • SPIREspiffe.io

    Production-ready SPIFFE runtime.

2.5Policy Standards

  • XACMLdocs.oasis-open.org

    XML-based standard for ABAC policies. Mature but verbose.

3Authorization as a Service

  • Managed OpenFGA by Auth0/Okta.

  • Authzedauthzed.com

    Managed SpiceDB. Zanzibar-style fine-grained permissions.

  • Permit.iopermit.io

    Full-stack authorization with a policy management UI and OPAL.

  • Osoosohq.com

    Managed authorization using the Polar policy language. Acquired by Tiny in 2026.

  • Cerbos Hubcerbos.dev

    Managed Cerbos policy deployment and testing.

  • Managed Cedar-based authorization service by AWS.

  • WorkOS FGAworkos.com

    Fine-grained authorization built on the Warrant engine.

  • Axiomaticsaxiomatics.com

    Enterprise ABAC platform. Acquired by Leonardo in 2025.

  • PlainIDplainid.com

    Policy-based access control for enterprises.

4Access Control Models

  • RBACcsrc.nist.gov

    Role-Based Access Control. Permissions are assigned to roles, roles to users.

  • ABACcsrc.nist.gov

    Attribute-Based Access Control. Decisions based on attributes of users, resources, and context.

  • ReBACdoi.org

    Relationship-Based Access Control. Access depends on relationships between entities; see Zanzibar.

  • PBACcsrc.nist.gov

    Policy-Based Access Control. Policies evaluate access requests dynamically.

  • DACcsrc.nist.gov

    Discretionary Access Control. Resource owners decide who gets access.

  • MACcsrc.nist.gov

    Mandatory Access Control. System-enforced, based on security labels.

  • ACLcsrc.nist.gov

    Access Control Lists. Per-object lists of who can do what.

5Real-World Implementations

How companies do authorization at scale.

6Security

7Articles & Tutorials

8Videos & Talks

9Books