Support custom headers

Open
#669 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go

Research direction

No file or test is named. Start by locating the openfga-cli gRPC connection setup and its command-line option handling; trace how connection settings reach the service. Done means a caller can provide a custom access-token header and the CLI sends it when connecting to the embedded OpenFGA service.

Written by the indexing model from the issue text.

Description

When openfga is embedded in another application as library, there might be different authentication method in front of GRPC connection. For example, in grafana we use token-based authentication for GRPC connection to the service which embeds openfga. So in order to use openfga-cli we need to pass access token in special header which is not possible currently with CLI.

Dominant language
Go
Stars
102
Forks
49
Avg merge
1d 1h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openfga/cli

All issues in openfga/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.