How to configure the default login page for the CSM portal (SSO and login) for unlogged users?

Ouidad1
Tera Contributor

Hello everybody, 

Context :

I need help with the SSO. The project is about the implementation of the CSM portal, SSO is enabled on the client instance. 

There are 2 types of users. 

- Internal with the SSO login 

- External via the login page (snc_external role)

 

The use case: (for the connection to the instance of an external user)
A user wants to log in via the link https://instance.service-now.com/csm

1. The CSM page for unlogged users, click on the "Log in" button

2. The Log in window appears briefly (A quick overview of the log in window)

3. I am automatically redirected to the Microsoft SSO page


Issue:
- When the user clicks on the "Login" menu, there is an automatic redirection to the Microsoft SSO login page and it's impossible to log in via the login page.

- External users should not use /login.do and /side_door.do to log in.

- By using the link https://instance.service-now.com/, the user arrives at the login page and is able to log in to the platform. However, a large majority of users will bookmark the link https://instance.service-now.com/csm and will not be able to login as explained (use case).
Login page https://instance.service-now.com/


Questions :
I would like to set up the same https://instance.service-now.com/ login page for the CSM portal page https://instance.service-now.com/csm, so that all users can have the choice to log in via SSO or via the login page.
I have tried to implement several solutions I have found, but it doesn't work.

Have you ever encountered this situation? Do you have any tips for implementation?

Thank you!

 

Links consulted and tested:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0639072

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0722359

https://www.servicenow.com/community/developer-forum/bypass-sso-in-different-service-portal/m-p/2231...

https://www.servicenow.com/community/csm-forum/work-around-sso-for-csm-login/m-p/398961

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719767

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0748198

2 REPLIES 2

Vutikonda Vinay
Tera Contributor

Hello @Ouidad1

It seems landing page is not configured in csm portal page in Portals

 

Navigate to Portals or use (sp_portal.list) then open csm portal add "login" or "csm_login" in the "Landing page" field save it. 

 

Test again with your csm instance

 

Whenever you can try with  https://instance.service-now.com/csm your page cannot redirects to Microsoft SSO and in the same time your existing Multi-SSO works as usual which means if you log out from csm portal you can automatically log out from instance and viceversa.

 

You can find screenshots below

 

Thank you!

Vinay.

ersureshbe
Giga Sage
Giga Sage

Hi, you tried with SPEntryPage script include.? it's base script to manage the login page from internal and external customers. Here you need to define the condition and allow the internal and external login pages.

Regards,
Suresh.