Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenFGA Server Synchronization #70

Open
aaguiarz opened this issue Oct 2, 2024 · 0 comments
Open

OpenFGA Server Synchronization #70

aaguiarz opened this issue Oct 2, 2024 · 0 comments

Comments

@aaguiarz
Copy link
Member

aaguiarz commented Oct 2, 2024

OpenFGA is designed to work with a centralized database. Different services call the OpenFGA API to make authorization decisions.

OpenFGA has a /changes endpoint that returns all the changes performed in an OpenFGA store. It's possible to build a service that consumes that endpoint and write the changes to another OpenFGA server.

This would enable scenarios like:

  • Deploying a OpenFGA in a sidecar where the data is stored locally using the SQLite adapter.
  • Deploying different OpenFGA services in multiple cloud regions and cloud providers. Clients will call the closest OpenFGA service

This service can be built as an OpenFGA feature (e.g. provide a configuration option that will consume the /changes endpoint from another OpenFGA service), or an an independent service that will read from one and write to another.

Initially, it should be built as a Go library, so it can be used both from the OpenFGA server, from an service, or from any other application.

@aaguiarz aaguiarz converted this from a draft issue Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant