Unable to use multiple public key for Signed JWT client authentication in RHBK
Issue
- For Signed JWT client authentication, 2 public keys were added by importing "JSON Web Key Set" in RHBK. The
Signed JWT
client authentication is successful with one public key while for the second public key the authentication fails and following error is seen in the logs:
PublicKey wasn't found in the storage. Requested kid: 'key1-id' . Available kids: '[key2-id]'
Environment
- Red Hat Build of Keycloak (RHBK)
- 26.0.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.