Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [consumer-connection] config is not working #173

Open
draneone opened this issue Aug 15, 2024 · 0 comments
Open

[BUG] [consumer-connection] config is not working #173

draneone opened this issue Aug 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@draneone
Copy link

Describe the bug
I'm trying to change token-header-name via file config and it doesn't apply.

To Reproduce
Steps to reproduce the behavior:

  1. Add to config file:
[consumer-connection]
token-header-name=Authorization
  1. Send a request to a channel
  2. See that token header name is always "X-Broker-Consumer-Token"

Expected behavior
Consumer token header name should be "Authorization" instead of "X-Broker-Consumer-Token". Same with user-agent option.

Additional context

I did a dirty fix for myself in a worker.go file to make it work, but I don't think I did it proper way (it works and pass the tests). Here is my commit with fix:
draneone@ea4907d

@draneone draneone added the bug Something isn't working label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant