Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

SAML2.0 with AEM : Switching the UserID parameter from NameID to Email

Avatar

Level 1

We're using NameID as the SAML assertion attribute for the userIDAttributein the SAML OSGi config. Now, this needs to be changed to use Mail instead. We also have enabled auto-creation of user.
Upon making the configuration change to use Mail instead of NameID, duplicate users are getting created. This is expected because the value of the two properties differs. Is there a way to consolidate the two? Asking because before going ahead to write a script for this, wanted to understand if there is a utility already available for this? or if I am missing to update any other relevant configurations to achieve this change?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ Poorva_Jain,

Unfortunately there is no OOTB tool or configuration that you could use to consolidate user data. Writing groovy script probably will be the simplest option to achieve your goal.

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ Poorva_Jain,

Unfortunately there is no OOTB tool or configuration that you could use to consolidate user data. Writing groovy script probably will be the simplest option to achieve your goal.