Add support for signed JWT (client assertion) authentication in Java admin client #108
Labels
area/admin-client
help wanted
Extra attention is needed
kind/feature
priority/normal
status/fix-in-keycloak-required
Refers to the issue, which need fix in keycloak/keycloak and will be synced to keycloak-client later
team/core-clients
Description
Current admin client implementation only supports 3 options for authentication:
But the most secure way for client authentication, with signed JWT, is not supported, and we'd like to see it implemented or at least be able to override default
TokenManager
implementation with our own and pass it to the admin client.Discussion
No response
Motivation
One of our client applications is using Keycloak java admin client to make changes in Keycloak realms based on all kind of business events. Though one of the security requirements in the organisation is to only use signed JWT (client assertion) for client authentication. Basic and client secret are discouraged.
Details
I believe there are 2 things that could be done to improve this and make it future-proof:
TokenManager
implementation that supports signed JWT authentication and manages access token lifecycle automaticallyI'm open to contributing by implementing this.
The text was updated successfully, but these errors were encountered: