Code Monkey home page Code Monkey logo

Comments (4)

jon-whit avatar jon-whit commented on May 20, 2024

@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 avatar sasanknvs commented on May 20, 2024

@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.

jon-whit avatar jon-whit commented on May 20, 2024

@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.

image

https://learning.postman.com/docs/sending-requests/grpc/grpc-request-interface/ for example

from openfga.

miparnisari avatar miparnisari commented on May 20, 2024

@sasanknvs I'm going to close this. Feel free to open a new issue if you have more questions 👍

from openfga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.