About OpenFGA
OpenFGA is an authorization service for applications. Instead of scattering permission checks through code, developers write an authorization model in a readable modeling language and then call an API to ask whether a given user may act on a given object. The project is aimed at fine-grained access control.
The design borrows from Google's Zanzibar paper on relationship-based access control, and the project says it also handles role-based and attribute-based use cases. SDKs exist for popular languages, and the team says check calls are designed to return in milliseconds.
It is open source and governed in the open through an RFC process and a public roadmap. The project belongs to the Cloud Native Computing Foundation as an incubating project. A single Docker command starts a local server on port 8080, and sample models are in the documentation.
Key features
- Readable modeling language for access control
- Relationship-based access control modeled on Zanzibar
- Also covers role-based and attribute-based access
- SDKs for popular programming languages
- Authorization checks designed to answer in milliseconds
- Local start with one Docker command
Good fit for
- Role-based access control
- Relationship-based permissions
- Attribute-based access control
OpenFGA: questions and answers
- What is OpenFGA used for?
- OpenFGA is an open-source authorization engine where developers describe access rules in a modeling language and ask the API whether a user may do something. It is a good fit for role-based access control, relationship-based permissions and attribute-based access control.
- Is OpenFGA open source?
- Yes. OpenFGA is open source under the Apache-2.0 licence. Its source code is on GitHub at openfga/openfga and is written mainly in Go.
- Is OpenFGA free?
- Yes. OpenFGA is open source, so the software itself is free to use.
- Can I self-host OpenFGA?
- Yes. OpenFGA can be self-hosted on your own server or infrastructure.
- What is OpenFGA an alternative to?
- OpenFGA is an open-source alternative to Permit.io, Authress and Oso. Other open-source alternatives to Permit.io include SpiceDB, Keto and OPA.
- Is OpenFGA actively maintained?
- Yes. The most recent commit to OpenFGA was on 20 November 2026, and the latest release is v1.23.0, published on 20 November 2026. The project has 6.2k stars on GitHub, with 165 added in the last 30 days.
Open-source alternatives to OpenFGA
See all
SpiceDB
Auth & Identity
Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grai
Apache-2.0vs Oso★ 7.2k
Keto
Open source
The most scalable and customizable permission server on the market. Fix your slow or broke
Apache-2.0vs Permit.io★ 5.4k
OPA
Open source
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
Apache-2.0vs Permit.io★ 13k
Keycloak
Auth & Identity
Open Source Identity and Access Management For Modern Applications and Services
Apache-2.0vs Auth0★ 38k
Pomerium
Security
Pomerium is an identity and context-aware access proxy.
Apache-2.0vs Cloudflare Zero Trust★ 5.1k
Logto
Auth & Identity
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC
MPL-2.0vs Auth0★ 15k
SaaS alternatives to OpenFGA
See all
Permit.io
Auth & Identity
Authorization-as-a-service with RBAC, ABAC and policy management
SaaS
Authress
Auth & Identity
Hosted login with fine-grained access control for SaaS applications
SaaS
Oso
Auth & Identity
Authorization service for modeling and enforcing app permissions with a policy language
SaaS
PlainID
Security
Enterprise authorization platform for data, APIs, and AI
SaaS
Auth0 Fine Grained Authorization (FGA)
Auth & Identity
Fine-grained authorization platform for securing multi-tenant B2B APIs, apps, and AI agents
SaaS
Cloudentity
Auth & Identity
Consumer identity and fraud prevention platform with passwordless authentication and risk scoring
SaaS

