Redirect to Service Portal from OKTA SSO login

navdeep_singh
Giga Guru

We have implemented OKTA SSO integration using Multi Provider SSO plugin. Now the requirement is to implement the flow as

1) Once user logged in from OKTA SSO, should be redirect to Service Portal

2) Once user logged in from ServiceNow login page using local login, should be redirect to Normal ITIL view or home page.

7 REPLIES 7

Gaurav Bajaj
Kilo Sage

Hi,

This should help.

https://community.servicenow.com/community?id=community_blog&sys_id=cbcda2e9dbd0dbc01dcaf3231f961949

Please mark it correct/helpful based on the response.

Thanks
Gaurav

I'm not the OP but I believe I am having a similar issue.

- Non-roled Users who login to our instance via okta are directed to the service portal and that is working great! However, if they close the tab and go to log back in via okta, they are directed to the platform, not the service portal. They are then forced to either log out of ServiceNow or add /sp to the end of the URL. 

I've tried following the link you provided and it is still not working. I changed the value in glide.entry.page.script from new CMSEntryPage().getEntryPage() to new SPEntryPage().getLoginURL() . Created glide.entry.first.page.script with a value of new SPEntryPage().getFirstPageURL() and still no luck. Not sure where to go from here.

 

Any Ideas?

Hi were you able to fix this issue?

We have tried the glide script as well with no luck.  

Even if a user (roled or non-rolled) logs into Okta but is directed to SN or Service Portal later in the day (outside of that chicklet), they are asked to log in again via the Service Portal landing page. 

Also, if they are clicking on say a knowledge article link, they are not taken to the article after logging in.  They are brought to the Service Portal homepage.