Skip to content

openfga/frontend-utils

OpenFGA Frontend Utils

Exposes helpful utilities for building authoring experiences of OpenFGA Models.

Currently used in the OpenFGA Docs and the FGA Playground to provide theming, model validation and diagnostics and graphic capabilities.

npm Release License FOSSA Status Join our community Twitter

Table of Contents

About 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.

It allows in-memory data storage for quick development, as well as pluggable database modules - with initial support for PostgreSQL.

It offers an HTTP API and a gRPC API. It has SDKs for Node.js/JavaScript, GoLang, Python and .NET. Look in our Community section for third-party SDKs and tools.

More SDKs and integrations such as Rego are planned for the future.

Resources

Syntax Transformer & CLI

The Syntax Transformer has a new home in the language repo.

The CLI can now be found at https://github.com/openfga/cli.

Installation

npm install --save @openfga/frontend-utils

Features

  • Theming (for Monaco and Prism)
  • Graphing
  • Diagnostics (for Monaco and VS Code)
  • Snippets (for Monaco and VS Code)
  • Hover suggestions (for Monaco and VS Code)

Usage

TBD

Contributing

See CONTRIBUTING.

Author

OpenFGA team

License

Apache-2.0