Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Authenticate multisso with two values

Pradeep J
Kilo Guru

Hi Everyone,

In Multi-Provider SSO properties, Can I change the value for the property- 'glide.authenticate.multisso.login_locate.user_field'

Attaching the snapshot for reference.

find_real_file.png

 

By default value is 'user_name'. I have two questions

1. If I want to change this value to 'email' what are steps I have to perform and what is the best practice to achieve.

2. Is it possible to mention two values in the property in comma separated like 'user_name,email'

By doing so will it work for both user_name and email? What are the steps or best practice to achieve.

Thanks and Regards,
Pradeep D J

2 REPLIES 2

Veer MS
Kilo Guru

Hi,

 

Please follow the below link for the solution.

 

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/single_sign_on/task/t_ConfigureMultiProviderSSOProps.html

 

Please mark it as correct or helpful.

 

Thanks 

Veer

Leo Joseph
ServiceNow Employee

Hi Pradeep,

 It is the filed from the sys_user table that identifies the user based on the value - we enter via the external login page.

 1) You can change the value to email and the External login page looks as below.

 

find_real_file.png

 2) If you try to use the "email,user_name" and the External login page looks as below

 

find_real_file.png

 But we won't be able to get the user details.

 Snippet of the logs

2019-01-24 16:46:49 Information No matching field in the 'sys_user' table for the given SSO selector field : email,user_name *** Script

2019-01-24 16:46:43 Information Invalid user field : email,user_name. Check property glide.authenticate.multisso.login_locate.user_field *** Script

2019-01-24 16:46:43 Information Looking up using user field : email,user_name

 Hence we need to use one value.

Hope this helps.

 Regards,

Leo Joseph.