Skip to content
@openfga

OpenFGA

OpenFGA is a flexible Authorization system inspired by Google's Zanzibar, designed for reliability and low latency at scale. OpenFGA is in CNCF Incubation stage

OpenFGA

CNCF Incubation Join our community Twitter OpenFGA YouTube Channel CLOMonitor LFX Health Score

OpenFGA is a high-performance, flexible authorization/permission engine built for developers and inspired by Google Zanzibar. It combines Relationship-Based Access Control (ReBAC) and Attribute-Based Access Control (ABAC) with a domain-specific language that makes it easy to craft authorization solutions that grow and evolve to any use case, at any scale.

Originally developed by Auth0/Okta and donated to the Cloud Native Computing Foundation in September 2022, OpenFGA is currently at the Incubation level and maintained by Okta and Grafana employees.

Adopted by: Auth0 | Grafana Labs | Canonical | Docker | Agicap | Read.AI | Headspace | and more...


🚀 Quick Start

# Run OpenFGA locally with Docker
docker pull openfga/openfga
docker run -p 8080:8080 openfga/openfga run

Then explore the playground, read the documentation, or watch the OpenFGA Modeling Guide for tutorials.


🙋‍♀️ Why Fine-Grained Authorization?

OpenFGA is designed to solve authorization for everyone, regardless of scale or complexity. Fine-grained authorization is becoming critical for modern software:

  • Agentic AI requires authorization. You can't expose your API to agents without proper authorization. You also need authorization for Retrieval-Augmented Generation (RAG) and restricting Agent access to APIs or MCP servers.

  • Users expect collaboration features. From 'Share' buttons to 'Request Access' workflows—for documents, project boards, photo albums, and IoT devices—OpenFGA makes these easy to build and govern.

  • Traditional RBAC doesn't scale. Fine-grained approaches like OpenFGA create authorization models that remain easy to understand and visualize, even for complex patterns.

  • Security and compliance are mandatory. The top risk in the OWASP Top 10 is Broken Access Control. Authorization is a critical part of any security solution.


💡 Why Centralize Authorization?

Centralizing authorization into a single, flexible service provides distinct advantages:

  • Ship faster — Easily extensible to new requirements across all your products
  • Simplify auditing — Explicit rules are easier to audit; built-in logs for all operations
  • Lower operational costs — One authorization system is simpler to manage
  • Improve developer experience — Same concepts and APIs regardless of team

🛠️ Developer Tooling

OpenFGA provides high-quality developer tooling:


👩‍💻 Useful Resources

Resource Description
Documentation Guides, tutorials, and API reference
Community Join us on CNCF Slack or GitHub Discussions
Contributing How to contribute code, docs, and more
Adopters Companies using OpenFGA in production
Community Projects Integrations and tools built by the community

Ready to get started? Check out the documentation or join us on Slack.

Pinned Loading

  1. community community Public

    The Community repository is the place to go for OpenFGA support.

    36 60

  2. openfga openfga Public

    A high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.

    Go 6k 528

  3. go-sdk go-sdk Public

    OpenFGA SDK for Go.

    Go 129 48

  4. js-sdk js-sdk Public

    OpenFGA SDK for node.js and JavaScript

    TypeScript 91 26

  5. dotnet-sdk dotnet-sdk Public

    OpenFGA SDK for .NET

    C# 85 20

  6. openfga.dev openfga.dev Public

    OpenFGA website and documentation.

    MDX 52 108

Repositories

Showing 10 of 35 repositories
  • go-sdk Public

    OpenFGA SDK for Go.

    openfga/go-sdk's past year of commit activity
    Go 129 Apache-2.0 48 10 1 Updated Oct 20, 2026
  • spring-boot-starter Public

    A Spring Boot Starter for OpenFGA.

    openfga/spring-boot-starter's past year of commit activity
    Java 57 Apache-2.0 15 2 2 Updated Oct 20, 2026
  • openfga Public

    A high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.

    openfga/openfga's past year of commit activity
    Go 6,007 Apache-2.0 528 153 (5 issues need help) 69 Updated Oct 19, 2026
  • mapper Public

    A Go module for mapping JSON events into OpenFGA relationship tuples using a declarative YAML mapping language.

    openfga/mapper's past year of commit activity
    Go 1 Apache-2.0 0 0 0 Updated Oct 19, 2026
  • language Public

    Grammar for the OpenFGA modeling language.

    openfga/language's past year of commit activity
    Go 35 Apache-2.0 19 28 (2 issues need help) 13 Updated Oct 19, 2026
  • cli Public

    A cross-platform CLI to interact with an OpenFGA server.

    openfga/cli's past year of commit activity
    Go 108 Apache-2.0 50 33 (1 issue needs help) 2 Updated Oct 19, 2026
  • api Public

    Protocol Buffers used by OpenFGA.

    openfga/api's past year of commit activity
    Go 28 Apache-2.0 27 16 (1 issue needs help) 6 Updated Oct 19, 2026
  • terraform-provider-openfga Public

    Terraform provider for OpenFGA.

    openfga/terraform-provider-openfga's past year of commit activity
    Go 27 Apache-2.0 8 0 0 Updated Oct 19, 2026
  • dotnet-sdk Public

    OpenFGA SDK for .NET

    openfga/dotnet-sdk's past year of commit activity
    C# 85 Apache-2.0 20 6 0 Updated Oct 19, 2026
  • sdk-generator Public

    OpenFGA Client SDK Generator.

    openfga/sdk-generator's past year of commit activity
    Mustache 28 Apache-2.0 69 38 (4 issues need help) 3 Updated Oct 19, 2026