Comments (4)
@sasanknvs please fill out the section that reports the OpenFGA version you are running with. Without that it's going to be hard to reliably reproduce.
Also, could you share the gRPC request you are making? I see you reported a JSON model. I would expect to see a grpcurl
or similar request body. We'll need that to reproduce.
from openfga.
@sasanknvs please fill out the section that reports the OpenFGA version you are running with. Without that it's going to be hard to reliably reproduce.
Also, could you share the gRPC request you are making? I see you reported a JSON model. I would expect to see a
grpcurl
or similar request body. We'll need that to reproduce.
I understood the problem. I am using the authorization model in json format from Openfga documentation and using it as a grpc message body. That's why I am seeing the issue. Ideally I should use that json only with Rest endpoint.
Can you let me to know if there is any sdk/client available if I want to communicate with openfga's grpc endpoint ?
from openfga.
@sasanknvs our SDKs do not currently support the gRPC endpoint(s). We have gRPC client support in our SDKs in the roadmap. However, the gRPC server of OpenFGA supports the gRPC reflection protocol and various tools like Postman support gRPC and can use the reflection endpoint to generate sample requests.
https://learning.postman.com/docs/sending-requests/grpc/grpc-request-interface/ for example
from openfga.
@sasanknvs I'm going to close this. Feel free to open a new issue if you have more questions 👍
from openfga.
Related Issues (20)
- Expose the duration it took the server to resolve a request HOT 1
- Add API to read latest authorization model HOT 2
- `no entrypoints defined` error when saving a valid model HOT 1
- Suboptimal performance if model ID is not specified in Check and ListObjects APIs
- do not rate-limit in-memory reads of tuples HOT 1
- Add unit tests to OIDC middleware
- Update `golang-jwt/jwt` HOT 1
- Exclude `mock_check_resolver` from code coverage HOT 1
- MySQL & Postgres: treat zero datetimes as nil HOT 1
- Export API functional tests HOT 1
- Flaky MySQL tests HOT 1
- Support Schema 1.2
- Improve `TestListObjects` by removing flag `useCheckCache` HOT 1
- Improve `AuthorizationModelResolutionTooComplex` error HOT 1
- HandleTupleValidateError throw 500 errors when condition is invalid HOT 1
- `hasEntrypoints` code is hard to understand HOT 1
- ListUsers API
- Authorization Model not found HOT 5
- authn oidc missing in openfga/openfga:v1.5 HOT 3
- Data race in tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfga.