Login with SSO link does not work

MiY
Tera Contributor

I enabled SSO authentication and confirmed that there were no problems with a test connection, then activated it.

MiY_1-1750243588930.png

 


However, when I try to log in using the "login with SSO" link on the login screen, the following error appears and I am not redirected and cannot log in.

MiY_0-1750243570007.png

 


I don't know what the cause is, so I would appreciate it if you could tell me.

Regards,

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @MiY 

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

https://www.servicenow.com/community/developer-forum/sso-test-connection-logout-results-error/m-p/18...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

SwathiPedireddy
Kilo Sage

Hi @MiY 

 

Check and update this property 'glide.authenticate.sso.redirect.idp' with sys_id of the idp.

 

Thanks,

Swathi Peddireddy

Hi @SwathiPedireddy -san,

 

Thank you, I set the value on the property as you pointed out.
After doing so, the Login with SSO link started working, but when I navigate to the instance's base URL (https://XXXX.service-now.com/), the SSO authentication screen was displayed.
Since SSO authentication is not applied to all users, I would like the default login screen (https://XXXX.service-now.com/login.do) to be displayed when the instance's base URL (https://XXXX.service-now.com/) is navigated to.
How can I implement this requirement?

Hi @MiY 

 

You can remove the sysid of the idp from that property and then update the 'SSO Source' field of the users with the value SSO : sysid of the idp

 

Thanks,

Swathi