Customer Service Portal - logout functionality

lcc
Tera Expert

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?

4 REPLIES 4

Allen Andreas
Administrator
Administrator

Hi,

 

This is possible. Please see this thread, which links to two others that have answers.

 

https://community.servicenow.com/community?id=community_question&sys_id=605a8ba9db5cdbc01dcaf3231f96...


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

lcc
Tera Expert

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.

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

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

Raffy
Tera Contributor

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