#127127th of 326 in Backends, databases and hosting
openfga
Fine-grained authorization server modeled on Google Zanzibar
- Stars
- 6.2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
5,088 on 1 May 20266,193 on 20 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
OpenFGA is a Go authorization service that stores relationship tuples and evaluates permission checks against a user-defined authorization model. It exposes HTTP and gRPC APIs, and can also be embedded as a Go library. Storage is in-memory, PostgreSQL 14+, MySQL 8 or SQLite (beta).
Who it is for: Backend engineers adding relationship-based access control to an app
Strengths
- HTTP and gRPC APIs with SDKs for Java, Node.js, Go, Python and .NET
- Runs as one binary with in-memory storage, or on Postgres or MySQL
- Local playground to model and test authorization; CLI for model tests
- Used in production by Auth0 FGA since December 2021
Weaknesses
- Not an AI project; it only covers authorization, not auth or user management
- In-memory storage loses data on stop and is for development only
- MySQL backend has stricter length limits on tuple properties
- Playground only connects to a server on localhost
What it needs
- no GPU
- Docker + Compose
- Needs PostgreSQL 14+ or MySQL 8 (optional, for persistent storage)
- port 8080
What changed
“Breaking change: This only applies if you use openfga as a library and implement a custom RelationshipTupleReader. The interface now has a Querier method which must be implemented (see pkg/storage/ad…”
“Fixed known vulnerabilities in the openfga/openfga Docker image by updating Go to 1.27.4, golang.org/x/net to v0.62.0, and the bundled grpc_health_probe to v0.4.62. #3405”
- v1.22.0 ↗ (opens in a new tab)Security fix
“Updated google.golang.org/grpc to v1.83.2 to resolve GO-2026-6443. #3317”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- Postgres: a request cancelled during pgx's acquire-time ping destroys a healthy connection (connection churn since v1.19.0) ↗ (opens in a new tab)2 reactions
- max-concurrent-reads settings don't limit datastore queries on Postgres ↗ (opens in a new tab)2 reactions
- Postgres: cancelled direct tuple reads discard healthy connections in v1.22.1 ↗ (opens in a new tab)1 reactions
- ReadChanges on Postgres skips changes under concurrent writes, also with a changelog horizon ↗ (opens in a new tab)1 reactions
- Warn the caller when ListUsers results are truncated by the deadline ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- Check fast paths spin on a closed producer channel until the other producer finishes ↗ (opens in a new tab)2 reactions · closed 7 Oct 2026Fixed by fix(graph): stop selecting on closed producer channels in the fast paths ↗ (opens in a new tab)
- HTTP server's gRPC client should explicitly dial 127.0.0.1 ↗ (opens in a new tab)2 reactions · closed 22 Apr 2026Fixed by feat: try to use UDS internally between HTTP server and gRPC server ↗ (opens in a new tab)
- ListObjects returns "Internal Server Error" when a condition is missing context ↗ (opens in a new tab)0 reactions · closed 15 Oct 2026Fixed by fix(listobjects): surface condition evaluation errors from the unary pipeline ↗ (opens in a new tab)
- Documentation recommends MIN_IDLE_CONNS > MIN_OPEN_CONNS which fails startup validation ↗ (opens in a new tab)0 reactions · closed 7 Aug 2026Fixed by docs: fix MIN_IDLE_CONNS recommendation contradicting startup validation ↗ (opens in a new tab)
- Weighted graph check evaluation inconsistent with CheckV1 ↗ (opens in a new tab)0 reactions · closed 29 Jul 2026Fixed by fix: only skip the targeted recursive relation when flattening v2 Check graph nodes ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 326| Rank | Project | Score |
|---|---|---|
| #125 | graphql-yogaGraphQL server library for Node, Deno, Bun and edge runtimes | 76 out of 100 |
| #126 | aspireCode-first toolchain to define, run and deploy distributed apps | 76 out of 100 |
| #128 | uncloudMulti-machine container orchestrator over a WireGuard mesh, with no control plane | 76 out of 100 |
| #129 | go-whatsapp-web-multideviceGo server exposing WhatsApp multi-device over REST, webhooks and MCP | 76 out of 100 |
| #130 | restateDurable execution engine for workflows, services and AI agents | 76 out of 100 |