This is the official IntelliJ plugin for OpenFGA.
OpenFGA is an open source Fine-Grained Authorization solution inspired by Google's Zanzibar paper. It was created by the FGA team at Auth0 based on Auth0 Fine-Grained Authorization (FGA), available under a permissive license (Apache-2) and welcomes community contributions.
OpenFGA is designed to make it easy for application builders to model their permission layer, and to add and integrate fine-grained authorization into their applications. OpenFGA’s design is optimized for reliability and low latency at a high scale.
- OpenFGA Documentation
- OpenFGA API Documentation
- OpenFGA on X
- OpenFGA Community
- Zanzibar Academy
- Google's Zanzibar Paper (2019)
Install directly from the JetBrains Marketplace, or from within your IDE:
- Go to Settings > Plugins > Marketplace
- Search for OpenFGA
- Click Install
Alternatively, you can install the plugin from disk:
- Download the latest release zip from GitHub Releases, or build it yourself with
./gradlew buildPlugin(output will be inbuild/distributions/) - Go to Settings > Plugins > ⚙️ > Install Plugin from Disk...
- Select the plugin zip file
- OpenFGA syntax highlighting for dark and light themes

- DSL syntax support (associated with
.fgaand.openfgafile extensions)
- DSL syntax injection for YAML store files (associated with
.fga.yamland.openfga.yamlfile extensions)
- Authorization model dsl file template

- Authorization model dsl live templates

- Generate json file from DSL (requires OpenFGA CLI to be installed)

- Configure servers in OpenFGA tool window

A rough roadmap for development priorities.
See the DEVELOPMENT and CONTRIBUTING.
A special thanks to Yann D'Isanto for the contribution of their codebase, which this project is built upon.
This project is licensed under the Apache-2.0 license. See the LICENSE file for more info.
