Redirect of external login

kazuto
Kilo Explorer

I configured Office 365 and ServiceNow single sign-on.

When configuring single sign-on for multiple Office 365 and ServiceNow, I want to change the redirect URL for each company.

Looking at the site below, I thought I could add 'sso_source' to company record and set sys_id of IdP record for each company.

https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/integrate/single-sign-on/task/t...

I made the following settings, but are there other settings to do?

<procedure>

1. Navigate to User Administration> Companies.

2. Select company records

3. Navigate to Configure> Form Layout.

4. Add the following fields

        Name: SSO Source

        Type: String

        Field length: Medium (100)

5. Enter "sso: <sys_id of Idp Record>" for "SSO Source"

Regards,

Matsumoto

1 ACCEPTED SOLUTION

Simon46
ServiceNow Employee
ServiceNow Employee

Hello Matsumoto,



Entering their user ID in "Use external login" should be enough. That is how the instance determines who is logging in and which IdP to redirect the user to.



Kind regards,


Simon Liang


View solution in original post

9 REPLIES 9

Hi Simon



According to the setting I made, is it that users belonging to the company are redirected to the SSO login page by entering their user ID in "Use external login"?


Or, do I need to create a script with "Multi - Provider SSO> Administration"?



Regards,


Matsumoto


Simon46
ServiceNow Employee
ServiceNow Employee

Hello Matsumoto,



Entering their user ID in "Use external login" should be enough. That is how the instance determines who is logging in and which IdP to redirect the user to.



Kind regards,


Simon Liang


Hi Simon



I was able to set a redirect URL for each company.


Thank you for your support.



Regards,


Matsumoto


Simon46
ServiceNow Employee
ServiceNow Employee

Hello Kazuto,



What you have configured should be everything that's required.



The Script Include "MultiSSO_ClientHelper" will look up the "sso_source" field on both the User and Company record to determine if a SSO IdP is defined.




Please note that the system property "glide.authenticate.sso.redirect.idp" CANNOT be used with your implementation, as the system property forces ALL users to use a single SSO IdP.


Modify the primary and default IdP



Kind regards,


Simon Liang


Hi Simon,



You need to setup identity provider for setting up SSO.