OpenFGA is a high-performance, flexible authorization and permission engine inspired by Google Zanzibar, designed to enable fine-grained access control in applications.
A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar
OpenFGA is used by developers to model and enforce complex authorization policies within their applications, enabling fine-grained permission management. It is ideal for teams needing scalable, flexible identity and access management integrated via APIs or SDKs across multiple programming languages.
The default in-memory datastore is intended only for rapid development and does not persist data after shutdown; for production use, configure persistent storage with supported databases. Environment variables like OPENFGA_HTTP_ADDR can be used to customize server settings. Refer to official docs for best practices on running in production.
Pull the OpenFGA Docker image: docker pull openfga/openfga
Run the OpenFGA server with default in-memory datastore: docker run -p 8080:8080 -p 3000:3000 openfga/openfga run
Refer to official documentation for production setup and configuration: https://openfga.dev/docs/getting-started/running-in-production
docker pull openfga/openfga
Downloads the latest OpenFGA Docker image from Dockerhub.
docker run -p 8080:8080 -p 3000:3000 openfga/openfga run
Starts the OpenFGA server using the in-memory datastore and exposes HTTP and playground ports.