Documentation

Java Go

Description

OpenFGA is an open-source authorization solution that allows developers to build granular access control using an easy-to-read modeling language and friendly APIs.

Examples

Dependency:
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>openfga</artifactId>
    <version>1.20.0</version>
    <scope>test</scope>
</dependency>
Usage:
var openfga = new OpenFGAContainer("openfga/openfga:v1.4.3");
openfga.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/openfga
Usage:
openfgaContainer, err := openfga.Run(ctx, "openfga/openfga:v1.5.0")