Key selection on Identity Providers #35039
Captain-P-Goldfish
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
as discussed today we should implement the idea from @thomasdarimont :
Please correct me, if I got anything wrong. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we are currently facing the issue that we want to configure several identity providers in a single realm. Some of these providers are SAML providers and thus we need different key-material for encryption, decryption, request-signatures and response-signature-verification.
So in total one to two key setups per provider (two if the keys cannot be extracted from the providers metadata for any reason).
The current solution in keycloak is to use the active-key in the realm. But this defeats of course the possibility to define multiple remote providers for which we require different authentication key-material.
The easiest fix would probably be to add a key-name reference to the identitiy provider configurations. With this we could add a new key that is not marked active:
and then we could reference this new key by name
elster-decryptionin the SAML configuration. The same would be required for response-signature-verification.Beta Was this translation helpful? Give feedback.
All reactions