✨ Keycloak - Map multiple IdP users to a single user via custom multi-value attribute (#2633)#2649
Merged
Merged
Conversation
…-value attribute (#2633) Parent issue: sequentech/meta#11932 - [x] Create new Maven module `idp-linking-authenticator` with pom.xml - [x] Implement `CustomAttributeIdpLinkingAuthenticator` extending `AbstractIdpAuthenticator` - [x] Implement `CustomAttributeIdpLinkingAuthenticatorFactory` with configurable parameters - [x] Write 22 unit tests covering all scenarios (zero/one/multiple matches, all claim types, edge cases) - [x] Update parent `pom.xml` to include new module - [x] Update `Dockerfile.keycloak` to copy new JAR - [x] Add Docusaurus documentation for the feature - [x] Fix: shorten PROVIDER_ID from `custom-attribute-idp-linking-authenticator` (42 chars) to `idp-linking-authenticator` (25 chars) — Keycloak's `AUTHENTICATION_EXECUTION.AUTHENTICATOR` column is `character varying(36)` --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: xalsina-sequent <173030604+xalsina-sequent@users.noreply.github.com> Co-authored-by: Xavier Alsina <xavier.alsina@sequentech.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parent issue: https://github.com/sequentech/meta/issues/11932
idp-linking-authenticatorwith pom.xmlCustomAttributeIdpLinkingAuthenticatorextendingAbstractIdpAuthenticatorCustomAttributeIdpLinkingAuthenticatorFactorywith configurable parameterspom.xmlto include new moduleDockerfile.keycloakto copy new JARcustom-attribute-idp-linking-authenticator(42 chars) toidp-linking-authenticator(25 chars) — Keycloak'sAUTHENTICATION_EXECUTION.AUTHENTICATORcolumn ischaracter varying(36)