In this scenario, the Acme company decides to become the Example company.
During the initial SSO configuration, administrators used the email address of employees as their ID instead of a stable ID, such as an employee number.
Following its rebranding, the company changes the email addresses of all employees from @acme.com
to @example.com
.
To that end, the administrators of Acme create the following script:
if(user.id.endsWith('@example.com')){
user.id = user.id.replace('@example.com','@acme.com');
}
With this script, when employees connect, their Fluid Topics account automatically updates with the new address.