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

API Gateway Integrations #46

Open
aaguiarz opened this issue Jan 10, 2024 · 5 comments
Open

API Gateway Integrations #46

aaguiarz opened this issue Jan 10, 2024 · 5 comments

Comments

@aaguiarz
Copy link
Member

No description provided.

@dineshkumarsarangapani
Copy link

what is expected in api gateway integration? where I can read about this story?

@dineshkumarsarangapani
Copy link

Yes, the examples provided works well for accessing single resource in gateway. Is there a pattern for list, sort and filter with gateway?

@aaguiarz
Copy link
Member Author

aaguiarz commented Sep 5, 2024

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.

@seandlg
Copy link

seandlg commented Sep 6, 2024

FYI, we have internally developed an OpenFGA-native identity-aware proxy, similar to Ory Oathkeeper. We're planning on open sourcing it soon.

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

3 participants