-
Notifications
You must be signed in to change notification settings - Fork 0
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
API Gateway Integrations #46
Comments
what is expected in api gateway integration? where I can read about this story? |
There are a few related projects already: https://github.com/openfga/openfga-envoy Is there anything specific you are looking to accomplish or learn? |
Yes, the examples provided works well for accessing single resource in gateway. Is there a pattern for list, sort and filter with gateway? |
I don't think the implementations above covered those use cases. In general, the underlying API will provide a list endpoint, and will return the data sorted. If you want to filter the results based on what the user is authorized to see, you'll need to take one of the approaches described here https://openfga.dev/docs/interacting/search-with-permissions, e.g., for each result returned by the underlying API call the FGA Check API. |
FYI, we have internally developed an OpenFGA-native identity-aware proxy, similar to Ory Oathkeeper. We're planning on open sourcing it soon. |
No description provided.
The text was updated successfully, but these errors were encountered: