✨ Keycloak - Map multiple IdP users to a single user via custom multi-value attribute#2633
Conversation
…-value attribute (#2598) - [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-swe-agent[bot] <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>
|
Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA). You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
…-value attribute (#2633) (#2649) 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>
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)