Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSO username mapping

Jakob KN
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 17, 2022

Hi folks! 

We're looking into setting up SSO for our confluence instance. 
The SSO will be through Google. 

I've not been able to find any documentation about how to use the username mapping. 
In Google the username is the user's email address (as far as I'm aware) and in Confluence it's simply the username that we choose.
Our naming convention is to take the first part of the users email and use this as the username, for example "john.doe@organization.com"'s username would be "john.doe".

I'm assuming I'll have to configure the username mapping so that it excludes "@organization.com". How can I do this?

We're on confluence version 7.13.2.

Thanks in advance.

1 answer

0 votes
Lokesh Naktode_miniOrange
Atlassian Partner
February 17, 2022

Hi Jakob,

It seems you are looking to enable SSO from Google but having an issue with the username mapping as google only send users' email in response.

Could you please let me know if you are using any third-party SSO add-on or built-in SSO of Confluence Datacenter? The community will suggest the configuration accordingly

I work for miniOrange one of the top SSO vendors in the Atlassian Marketplace. We have an SSO add-on for both OAuth/OIDC and SAML and both the add-on have the functionality to extract the username by applying the regular expression on the received email in the response. 

More details can be found here.

https://developers.miniorange.com/docs/atlassian/saml-sso/user-profile

Feel free to reach out to miniOrange Support in case if need assistance with this plugin.

Thanks,

Lokesh

Jakob KN
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 17, 2022

Hi Lokesh,

Thanks for your reply!
I'm using the built-in SSO of Confluence Datacenter. 

Lokesh Naktode_miniOrange
Atlassian Partner
February 17, 2022

Hi Jakob,

Thanks for the confirmation.

Unfortunately, I did not find any way to apply regex on email either in built-in SSO 2.0 or G Suite SSO configuration.

If I will find any way I will definitely post here. In the meantime, you can try SAML or OAuth SSO APP from miniOrange. this has the functionality that you are looking for.

Thanks,

Lokesh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events