Customer Service Portal - logout functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2018 07:27 PM
Hi, I'm new to Customer Service Portal and I can't seem to find how the logout functionality is handled in ServiceNow. I noticed that the login/logout is stored at CSP Stock Header widget. I have a business requirement to redirect user to external website (eg: google.com until further development is completed) after client logout. When I have a look of the Logout menu, it's just redirecting to "href="{{::portal.logoutUrl}}" which I have no idea where the URL is stored. I can change the href to external website but that will not log the user out. How do I make this work?
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 01:24 PM
Hi,
This is possible. Please see this thread, which links to two others that have answers.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2018 07:31 PM
Thank you but unfortunately, there is no answers to those links.
I found out that there is an installation exits record that allows us to customise the redirection link. it's all working well now.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2019 11:20 AM
Hi Icc,
Could you please share how you resolved this issue? How did you update the installation exit record to customize the redirection link after logout from service portal?
Thanks,
Chris
Regards,
Chris Perry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2020 10:28 AM
hi, Icc,
Wish you still get this posting.
Could you share what you found in detail "I found out that there is an installation exits record that allows us to customise the redirection link. it's all working well now."?
I am wondering for the Looback issue on our ESC portal too and come up this posting about '"href="{{::portal.logoutUrl}}"' and if we change it to 'href="{{::logoutUrl}}' the issue we have fixed but another javascript issue comes out. logoutUrl is configured on our Identify Provider.
I am wondering abotu where portal.logoutUrl data is stored, which is what you asked too.
Cheers,
Munhwan