Authenticate multisso with two values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 05:13 AM
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.
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
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 05:47 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2019 08:11 AM
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.
2) If you try to use the "email,user_name" and the External login page looks as below
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.