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

Enhance OidcClient to pass custom headers to the token endpoint #20835

Closed
sberyozkin opened this issue Oct 18, 2021 · 1 comment · Fixed by #20842
Closed

Enhance OidcClient to pass custom headers to the token endpoint #20835

sberyozkin opened this issue Oct 18, 2021 · 1 comment · Fixed by #20842
Assignees
Labels
area/oidc kind/enhancement New feature or request
Milestone

Comments

@sberyozkin
Copy link
Member

sberyozkin commented Oct 18, 2021

Description

An OIDC provider's token endpoint may require not only the client authentication and token grant parameters but also some custom headers passed to it.
OidcClient needs to be enhanced to support passing the custom headers.

Implementation ideas

Add a headers map property to OidcClientConfig for the custom headers be configured like this:

quarkus.oidc-client.headers.a=b, etc

@sberyozkin sberyozkin added the kind/enhancement New feature or request label Oct 18, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 18, 2021

/cc @pedroigor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oidc kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants