Skip to content

Oidc-client: Custom dynamic headers #22256

Answered by sberyozkin
rkraneis asked this question in Q&A
Discussion options

You must be logged in to vote

@rkraneis Can you please clarify, do you refer to quarkus-oidc-client ?
In this case you can use the dynamic client creation feature, see: https://quarkus.io/guides/security-openid-connect-client#use-oidcclients.

So you can inject OidcClients, create OidcClientConfig dynamically (it allows to set the custom header) and create the client.
Does it help ?

Replies: 1 comment 21 replies

Comment options

You must be logged in to vote
21 replies
@sberyozkin
Comment options

@rkraneis
Comment options

@rkraneis
Comment options

@sberyozkin
Comment options

@rkraneis
Comment options

Answer selected by rkraneis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants