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

Custom authentication header for PactBroker access #1632

Closed
artemptushkin opened this issue Nov 2, 2022 · 2 comments
Closed

Custom authentication header for PactBroker access #1632

artemptushkin opened this issue Nov 2, 2022 · 2 comments

Comments

@artemptushkin
Copy link

artemptushkin commented Nov 2, 2022

Having Pact Broker under an authentication layer with a custom header, like my-authorization instead of Authorization makes it impossible to propagate the value to the client

Is there a way to propagate a custom header for Pact Broker access?

Relevant for: Maven, Gradle plugins and provider clients

If no, can this feature be implemented?

@artemptushkin
Copy link
Author

@rholshausen is it worth contributing a feature to customize the Authorization header key with a custom value from the properties?

artemptushkin added a commit to artemptushkin/pact-jvm that referenced this issue Nov 6, 2022
rholshausen added a commit that referenced this issue Nov 9, 2022
…eaders

GH-1632 invent default auth header with additional tests
@artemptushkin
Copy link
Author

artemptushkin commented Nov 15, 2022

closed with #1633

the default auth header can be customized now from the Authorization through any library using a dedicated property (e.g. pactBrokerAuthenticationHeader), see corresponding documentation for more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant