Logged out after logging in with SSO.

RyoyaFukuda
Tera Contributor

 

Hi, all

I am configuring SSO.
I have configured the ID provider, performed a test connection, and activated it.

After that, when I tried to log in to ServiceNow with SSO, I encountered the situation shown in the attached image.
I am using Auth0, and when I checked its logs, there is a record of a successful login.

What settings in ServiceNow might be incorrect?

 

 

RyoyaFukuda_0-1776211545154.png

 

1 ACCEPTED SOLUTION

Can you confirm whether you have configured SSO Source?

 

Ref: Configure users for Multi-Provider SSO 

 

Check this KB0814889 SAML Error: Ensure that the user you are trying to login is from the correct source, as me... 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

4 REPLIES 4

Tanushree Maiti
Kilo Patron

Hi @RyoyaFukuda 

 

It seems there is mismatch between SSO properties  and  SSO NameID policy .

Use same field for both like Email or user name.

 

Validate this two configurations:

1)Name ID policy field value has been set to 

urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

2)System Property glide.authenticate.multisso.login_locate.user_field value has been set to email

 

Refer: KB0788105 New AD users cannot login to Servicenow instance with SSO: ERROR *** *** Script: User: [Us... 

Azure SSO error with ServiceNow 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Thank you @Tanushree Maiti 
As per your instructions, I have changed the settings. I changed the system property from "user_name" to "email".

When I try to log in again with SSO, the following error message is displayed:
"*** Script: Ensure that the user you are trying to login is from the correct source, as mentioned in user's sso source field in servicenow instance.: no thrown error"

I have put the sysID of what is defined in the identity provider in the user's SSO source.

Can you confirm whether you have configured SSO Source?

 

Ref: Configure users for Multi-Provider SSO 

 

Check this KB0814889 SAML Error: Ensure that the user you are trying to login is from the correct source, as me... 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Thank you @Tanushree Maiti 

There was a blank space between "sso:" and the sysID in the SSO source.
After removing it, I was able to log in correctly with SSO!
Thank you very much!