-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
.NET Aspire issue link
No response
Overview
OpenFGA is a fine grained authorization solution that allows developers to build granular access control using a custom dsl and self host the FGA server.
Usage example
var openFga = builder.AddOpenFga("openfga");
var store = openFga.AddStore("my-store")
.WithModelDefinition("models", Path.Join(builder.AppHostDirectory, "Models"), "fga.mod");
builder.AddProject<MyProject>("project")
.WithEnvironment("OpenFga__Connection", store.HttpEndpoint)
.WithEnvironment("OpenFga__Store", store)Additional context
I have built an OpenFGA integration that is published to nuget hosted here https://github.com/maxs-rose/Aspire-OpenFGA allowing for the integration of all the current storage's that it supports (postgres, sqlite, and mysql) with a couple extra bits to allow stores to be created, populated, and otel support.
Help us help you
Yes, but only if others can assist
BoatPartyJesus and gabynevadaCopilot
Metadata
Metadata
Assignees
Labels
No labels