We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Logging out using SSO and logging in back again.

Hamad Baseer
Tera Expert

Hello folks, 

 

I'm facing an issue with a particular configuration in SSO.

 

Problem:

When users log out of ServiceNow and try to open a new window in browser and log back in again, it neither prompts to ask login creds nor the Idp login page is presented again.

 

Is this how it's supposed to work once you use SSO to login. Is this the default behavior? The client said this didn't happen before until they upgraded their instances and that, it is happening on all environments. Honestly it's very confusing as to what they are saying.

 

I think their Idp is ADFS. I have been put on this project since I implemented a SSO integration before with Microsoft Azure. I noticed their field value in Idp record "Identity Provider's SingleLogoutRequest" was empty. When I had implemented SSO, I too kept this as empty. Does this have any significance in what needs to be acheived?

 

As far as the core functionality is concerned it seems to be working fine. The users can login using SSO and when logging out, they are redirected to the Idp's login page. In the instance their Idp record looks fine and all details are populated and valid. 

 

Would appreciate your inputs. 

 

Thanks, 

Hamad

 

@Ankur Bawiskar

@Maik Skoddow 

#Integrations #SSO #SAML

1 ACCEPTED SOLUTION

Hamad Baseer
Tera Expert

Ignore this question. It was entirely a different problem which was causing this incident and was resolved by ServiceNow support.

View solution in original post

2 REPLIES 2

Ahana 01
Tera Expert

ServiceNow supports Single Sign-On (SSO) which allows users to authenticate themselves against an external Identity Provider (IdP) rather than obtaining and using a separate username and password stored in the ServiceNow instance. Here are the steps to log out and log back in using SSO:

1. To log out from ServiceNow using SSO, you can simply click on the logout option in the user menu. This will end your ServiceNow session.

2. However, depending on the SSO configuration, you may still be logged into your IdP. To completely log out, you may need to also log out from your IdP. This process varies depending on the IdP used.

3. To log back into ServiceNow using SSO, navigate to your ServiceNow instance URL.

4. If SSO is properly configured, you should be redirected to your IdP's login page.

5. Enter your IdP credentials.

6. After successful authentication, you should be redirected back to your ServiceNow instance and logged in.

Please note that the exact steps can vary depending on the specific SSO method and IdP used. If you're using a specific SSO method like SAML or OAuth, or a specific IdP like Okta or ADFS, the steps can be slightly different.


nowKB.com

For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable

Hamad Baseer
Tera Expert

Ignore this question. It was entirely a different problem which was causing this incident and was resolved by ServiceNow support.