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?