Skip to content

Additional OpenFGA API Authorization Options - Experimental #30

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

Closed
aaguiarz opened this issue Apr 12, 2023 · 4 comments
Closed

Additional OpenFGA API Authorization Options - Experimental #30

aaguiarz opened this issue Apr 12, 2023 · 4 comments
Assignees

Comments

@aaguiarz
Copy link
Member

aaguiarz commented Apr 12, 2023

OpenFGA currently supports pre-shared keys and OIDC for authenticating calls to the APIs. Those credentials are global, and allow performing any action in any store.

We want to provide more granularity for authorizing calls to the OpenFGA API. Some scenarios:

  • Different credentials for each FGA store.
  • Different credentials with different permissions per FGA store (e.g. some credentials can perform writes while others cannot).
  • Different credentials with different permissions per FGA module (e.g. some credentials can perform writes on types of some modules while others cannot).
  • Different credentials with different permissions for different types in the FGA store (e.g. some credentials allow writing tuples for documents and others allow writing tuples for users)

This RFC discusses different alternatives in more depth openfga/rfcs#10

@cafaray
Copy link

cafaray commented Mar 22, 2024

[Possible Typo]
Should it be:
"OpenFGA currently supports pre-shared keys and OIDC for authenticating calls to the APIs"
Current:
"OpenFGA currently supports pre-shared keys and ODIC for authenticating calls to the APIs"

@tylernix
Copy link

[Possible Typo] Should it be: "OpenFGA currently supports pre-shared keys and OIDC for authenticating calls to the APIs" Current: "OpenFGA currently supports pre-shared keys and ODIC for authenticating calls to the APIs"

Thank you @cafaray. Fixed.

@jakeyheath
Copy link

If there is any desire to have help implementing this feature, my team would love to volunteer! Not sure how far along the RFC process has progressed, but if you have guidance on how to contribute back here, please reach out.

@rhamzeh
Copy link
Member

rhamzeh commented Dec 20, 2024

Hey folks - we didn't update this Roadmap item, but we have released an experimental feature for setting up Access Control in OpenFGA.

It currently requires OIDC.

The docs are here: https://openfga.dev/docs/getting-started/setup-openfga/access-control

Try it out and let us know your thoughts!

@aaguiarz aaguiarz moved this from In Progress to Next in OpenFGA Roadmap Jan 9, 2025
@aaguiarz aaguiarz changed the title Additional OpenFGA API Authorization Options Additional OpenFGA API Authorization Options - Experimental Jan 9, 2025
@aaguiarz aaguiarz moved this from Next to Done in OpenFGA Roadmap Jan 9, 2025
@aaguiarz aaguiarz closed this as completed Jan 9, 2025
@github-project-automation github-project-automation bot moved this from Selected for Development to Done in April 2024 Hackathon Jan 9, 2025
@github-project-automation github-project-automation bot moved this from Done to In Progress in OpenFGA Roadmap Jan 9, 2025
@aaguiarz aaguiarz moved this from In Progress to Done in OpenFGA Roadmap Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

6 participants