Visitar URL original
gRPC support in the CLI · Issue #592 · openfga/cli · GitHub
Skip to content

gRPC support in the CLI #592

Open

Description

@guimochila

Hi everyone 👋,

I am trying to deploy OpenFGA in our dev environment, however I am facing an issue. I have disabled HTTP and left only gRPC enabled. I am trying to use the CLI to connect to OpenFGA to import a store but I am only getting Unsupported Media Type error:

2025/10/21 11:19:10
HTTP/2.0 415 Unsupported Media Type
Content-Length: 0
Content-Type: application/grpc
Date: Tue, 21 Oct 2025 09:19:10 GMT
Grpc-Message: invalid gRPC request content-type "application/json"
Grpc-Status: 3

Does the CLI works with gRPC?

Thanks in advance.

Activity

  1. rhamzeh commented on Oct 21, 2025

    @rhamzeh
    Member

    Hi @guimochila - at the moment, no it doesn't nor do our first-party SDKs - though we have an open issue for them.

    We will keep this issue open to track interest.

    Linked SDK issue: openfga/sdk-generator#77

  2. changed the title [-]Does CLI supports gRPC?[/-] [+]gRPC support in the CLI[/+] on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions