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

Support passing additionalGrantParameters to OidcClient.refreshTokens and OidcClient.revokeAccessToken #35422

Closed
Eng-Fouad opened this issue Aug 20, 2023 · 1 comment · Fixed by #35425
Labels
area/oidc kind/enhancement New feature or request
Milestone

Comments

@Eng-Fouad
Copy link
Contributor

Eng-Fouad commented Aug 20, 2023

Description

I am using Keycloak with a client that is configured to use signed JWT for authentication. This works fine with oidcClient.getTokens:

String jwt = generateJwt();
var tokens = oidcClient.getTokens(Map.of("client_assertion", jwt, "client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"));

However, there is no way to specify additional params when calling OidcClient.refreshTokens or OidcClient.revokeAccessToken.

Implementation ideas

No response

@Eng-Fouad Eng-Fouad added the kind/enhancement New feature or request label Aug 20, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 20, 2023

/cc @pedroigor (oidc), @sberyozkin (oidc)

sberyozkin added a commit that referenced this issue Aug 21, 2023
Support passing additionalGrantParameters to OidcClient.refreshTokens and OidcClient.revokeAccessToken
@quarkus-bot quarkus-bot bot added this to the 3.4 - main milestone Aug 21, 2023
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
1 participant