SSO redirection is not working as expected/ SPEntryPage script issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 11:04 PM
Hi Experts,
Our requirement is when a user clicks on support from a third-party application, it will redirect to ServiceNow without asking for login based on their role i.e., the external users should redirect to the CSM page and Internal users to ServiceNow Home page.
For this we have Idp configuration based on multi SSO and using the below link format for redirection.
https://<yourinstance>/login_with_sso.do?glide_sso_id=<sysId_IdP>
Also, we added the System Property "glide.entry.first.page.script" as "new SPEntryPage().getFirstPageURL()" and made few changes in SPEntryPage Script Include as below.
Now, the users can redirect to ServiceNow without login as expected. But the problem is our internal users are also redirected to CSM portal in first click.
Does anyone faced the same issue, please suggest us a solution.
Would appreciate your help, thanks in advance!!!