Redirect users with no role to external page.

Vinod21
Tera Contributor

Hi Experts,

We have modified 'SPEntryPage' script include to redirect users with no roles to external link, which is working perfectly when the users login for the first time, but when the user tries to access the other portal after login like instance/service-now.com/esc , this time they not redirecting to external instead it allowing user to access esc portal.
Could you help us how to redirect users who tries to access portal after login.

Thanks,

Vinod

4 REPLIES 4

GlideFather
Tera Patron

Olá @Vinod21,

check the access roles for the ESC

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


oooor try to think of using the snc_external instead of no role..

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Here i am looking for how can we redirect users when they access pages directly not only esc portal , like if they try to access incident ,change , problem or any url then we need to redirect them to external portal

Incident, Change, Problem > it shall not be possible to reach without itil OOTB...

 

Try to configure the snc_external role:

KamilTEL_0-1751464827441.png

 


https://www.servicenow.com/community/developer-forum/role-snc-external/m-p/2014581

 

https://www.servicenow.com/community/developer-forum/snc-internal-snc-external/m-p/2466539

 

https://www.servicenow.com/docs/bundle/yokohama-platform-security/page/administer/contextual-securit...

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */