gRPC support in the CLI
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 102
- Forks
- 49
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 16
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI entry point for importing a store and trace how it connects to OpenFGA. Reproduce the request with HTTP disabled and only gRPC enabled, then identify the client path responsible for sending application/json. Done means the import command can connect over gRPC and complete successfully without the 415 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, grpc
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100