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 a CNCF Sandbox Project.

Introducing: OpenFGA 👋

Join our community Twitter CLOMonitor OpenFGA YouTube Channel LFX Health Score

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

OpenFGA was originally developed by Auth0/Okta, and donated to the Cloud Native Computing Foundation on September 14, 2022, and is currently at the Sandbox level of graduation.

It's currently being maintained by Okta and Grafana employees.


🙋‍♀️ What's OpenFGA all about?

This community wants to solve authorization for everyone, regardless of the scale or complexity required for any given piece of software, and we think OpenFGA's design is the way to do it. In particular, the fine-grained authorization approach which OpenFGA incorporates is becoming an increasingly critical element of access control in software:

  • Collaboration and social features are things users expect. These features range from the ‘Share’ button where users proactively grant specific permissions to a set of users for a specific resource, to ‘Request Access’ workflows that allows users to reactively grant access on demand. These features are useful both for business-related assets such as documents or project boards, as well as social sharing of personal content like photo albums, social media posts, and even IoT devices. OpenFGA makes these scenarios easy to build and govern.

  • Traditional Role-Based Access Control (RBAC) solutions become difficult to administer and scale, but fine-grained approaches like OpenFGA can create authorization models that are still easy to understand and visualize for complex authorization patterns.

  • Security, compliance, and privacy are mandatory problems to solve for any software application from day one, and authorization is a big part of any solution. In fact, the top risk in the OWASP Top 10 API Security Risks list is Broken Object Level Authorization.


💡Why is it important to centralize authorization?

Centralizing your authorization logic and decisions into a single service that has the flexibility to handle use cases across your different products gives you distinct advantages:

  • Deliver faster: You’ll be able to ship features and products faster, as the system should be easily extensible to new requirements.
  • Simplify authorization policy auditing: Explicit authorization rules are easier to audit by internal and external parties.
  • Simplify access control auditing: The authorization service generates logs for all operations out-of-the-box, both reads and writes
  • Lower operational costs: Having a single authorization system makes it simpler to manage.
  • Simpler to switch teams: Developers can use the same authorization concepts and APIs regardless of the team they work on.

🛠️ Developer Tooling

OpenFGA has high quality developer tooling, including:


👩‍💻 Useful resources

Pinned Loading

  1. community community Public

    The Community repository is the place to go for OpenFGA support

    30 43

  2. openfga openfga Public

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

    Go 4.1k 301

  3. go-sdk go-sdk Public

    OpenFGA SDK for Go

    Go 93 33

  4. js-sdk js-sdk Public

    OpenFGA SDK for node.js and JavaScript - https://www.npmjs.com/package/@openfga/sdk

    TypeScript 66 17

  5. dotnet-sdk dotnet-sdk Public

    OpenFGA SDK for .NET - https://www.nuget.org/packages/OpenFga.Sdk

    C# 60 8

  6. openfga.dev openfga.dev Public

    OpenFGA website and documentation

    TypeScript 41 88

Repositories

Showing 10 of 30 repositories
  • openfga.dev Public

    OpenFGA website and documentation

    openfga/openfga.dev’s past year of commit activity
    TypeScript 41 Apache-2.0 88 24 (3 issues need help) 9 Updated Sep 10, 2025
  • spring-boot-starter Public

    A Spring Boot Starter for OpenFGA

    openfga/spring-boot-starter’s past year of commit activity
    Java 44 Apache-2.0 10 4 7 Updated Sep 10, 2025
  • 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 4,072 Apache-2.0 301 121 (6 issues need help) 31 Updated Sep 9, 2025
  • model-visualizer Public

    In-browser visualizer for OpenFGA authorization models as a weighted graph which offers insights into their performance characteristics

    openfga/model-visualizer’s past year of commit activity
    HTML 0 Apache-2.0 0 1 0 Updated Sep 9, 2025
  • cli Public

    A cross-platform CLI to interact with an OpenFGA server

    openfga/cli’s past year of commit activity
    Go 82 Apache-2.0 36 26 (2 issues need help) 7 Updated Sep 9, 2025
  • api Public

    Protocol Buffers used by OpenFGA

    openfga/api’s past year of commit activity
    Shell 21 Apache-2.0 18 15 (1 issue needs help) 6 Updated Sep 10, 2025
  • community Public

    The Community repository is the place to go for OpenFGA support

    openfga/community’s past year of commit activity
    30 Apache-2.0 43 2 1 Updated Sep 8, 2025
  • vscode-ext Public

    An OpenFGA extension for VS Code

    openfga/vscode-ext’s past year of commit activity
    TypeScript 18 Apache-2.0 5 18 (1 issue needs help) 14 Updated Sep 8, 2025
  • go-sdk Public

    OpenFGA SDK for Go

    openfga/go-sdk’s past year of commit activity
    Go 93 Apache-2.0 33 16 (4 issues need help) 6 Updated Sep 8, 2025
  • language Public

    Grammar for the OpenFGA modeling language

    openfga/language’s past year of commit activity
    Go 28 Apache-2.0 11 26 (1 issue needs help) 3 Updated Sep 8, 2025