Hi folks!
We're in the process of adding SSO to our Jira and Confluence instances, but have a slight hurdle to overcome.
Currently the naming convention for usernames is firstname.lastname, but in order for SSO to work properly, the usernames need to be the users email addresses.
We could potentially append @companyname.com to the users usernames, but there will be some accounts where this won't work, as we have several different mail domains withing the company.
So what I'm after, is a solution to take whatever email that is on the users accounts and add that mail as username.
If anyone have found a solution for this and have either a script or another solution to share it'd be much appreciated.
This is for both Jira and Confluence (data center) by the way.
We're on a PostgreSQL DB.
Thanks in advance