
OpenFGA
Open-source authorization engine where developers describe access rules in a modeling language and ask the API whether a user may do something.
- GitHub stars
- 6.1k
- Last commit
- yesterday
- Latest release
- v1.22.1
- Licence
- Apache-2.0
- Self-hosted
- Yes

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
























