# OpenFGA

> Fine-grained authorization

Source: https://talira.ai/catalog/openfga-72p8a9hd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [security / auth / authorization](https://talira.ai/categories/security/auth/authorization)
- Platforms: docker[^2]
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source.
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- API: yes[^2]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^4][^5]

OpenFGA is an open source authorization engine for building fine-grained access control, inspired by Google's Zanzibar paper. You describe who can do what in an easy-to-read modelling language, for relationship-based access control as well as role-based and attribute-based cases, then your application asks it permission checks over its API, answered in milliseconds. It stores relationships in memory, PostgreSQL, MySQL or SQLite (beta), runs from Docker or Homebrew, and has SDKs for Java, Node.js, Go, Python and .NET. It's a Cloud Native Computing Foundation incubating project; Auth0 FGA has run it in production since December 2021, and Grafana Labs, Canonical and Docker use it. Alternatives include [SpiceDB](https://talira.ai/catalog/spicedb-zzj7ehpm.md).

## Links

- Website: https://openfga.dev/
- GitHub: https://github.com/openfga/openfga
- Docs: https://openfga.dev/docs/fga

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/openfga>[^1]

## Problems it solves

- add fine-grained permissions like Google Docs sharing to my app
- relationship-based access control service
- a Zanzibar-style authorization server I can self-host
- check whether a user can access a resource from my backend

## Features

- authorization modelling language
- ReBAC, RBAC and ABAC
- millisecond check API
- PostgreSQL, MySQL and SQLite storage
- SDKs for five languages

## Capabilities

- Has an API: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Cloud Native Computing Foundation
- funding: non-profit
- used by Auth0, Grafana Labs, Canonical, Docker

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Ory Keto](https://talira.ai/catalog/ory-keto-zvqr5dxq.md): Open source authorization server based on Google Zanzibar, for RBAC and ReBAC
- [SpiceDB](https://talira.ai/catalog/spicedb-zzj7ehpm.md): Open-source, Google Zanzibar-inspired database for fine-grained authorization
- [Open Policy Agent](https://talira.ai/catalog/open-policy-agent-rerf6ac8.md): An open source, general-purpose policy engine that unifies policy enforcement across the stack
- [Apache Casbin](https://talira.ai/catalog/apache-casbin-q0j8c46t.md): An authorization library that supports access control models like ACL, RBAC, ABAC
- [Oso Cloud](https://talira.ai/catalog/oso-cloud-8twyv4be.md): A centralized authorization service built on Polar
- [Ory](https://talira.ai/catalog/ory-9g8j29sf.md): Headless, cloud-native identity: authentication, OAuth2/OIDC and permissions

## Sources

[^1]: https://github.com/openfga/openfga (checked 24 Nov 2026)
[^2]: https://openfga.dev/ (checked 24 Nov 2026)
[^3]: https://github.com/openfga/openfga/blob/main/LICENSE (checked 24 Nov 2026)
[^4]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^5]: https://www.cncf.io/ (checked 20 Nov 2026)
