Can you edit the logout page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2018 06:03 PM
Hi there,
Our client wants to change the logout message on external_logout.do... Instead of saying 'You have successfully logged out', they want; 'Please be aware you have not completely logged out of the system, please logout of all other applications before leaving'.
Is this possible? I had a thought to create a new UI page and redirect them to that, but, if you can just edit the original message, that would be better...?
- Labels:
-
Service Level Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2018 07:08 PM
Its not possible to edit the external_logout.do page.
A similar thread that has information you need to make a UI page, and it did not work for them. Give it a try.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2018 10:23 PM
You can customize redirection in logout page.
Take a look at 'Installation Exits' under 'System Definition'. The 'Logout Redirect' installation exit is the place to go for your requirement.
Also, The below threads should answer your question.
https://community.servicenow.com/thread/157190
https://community.servicenow.com/thread/161283
Regards,
sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2018 10:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2018 10:37 PM
I had the same issue of not being able to use logout.do?sysparm_goto_url=logout_redirect.do?sysparm_url=url with the MultiSSO plugin enabled.This solution below works with domain separated instances also.
Fix i have done is to modify the installation exit of the MultiSSO (MultiSSOLogout). I added a condition that checks for the sysparm_goto_url parameter and process it if it is there, as by default this parameter is not processed.
So I added a condition to process it. Here is the new version of the process function inside the installation exit:
process : function() {
if ( "true" != gs.getProperty("glide.authenticate.multisso.enabled")
|| this.loggedInNormal
|| this.propertiesGR.sys_class_name == 'digest_properties' ) {
this.ssoHelper.debug("Logging out normal");
return this.processNormalLogout();
}
if (this.propertiesGR.sys_class_name == 'saml2_update1_properties') {
var binding = this.propertiesGR.idp_logout_binding;
if (binding && binding.equals("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST")) {
this.ssoHelper.debug("Logging out saml using HTTP POST");
var output = this.SAML2.generateLogoutRequestForm(request);
response.setContentType("text/html");
response.getWriter().write(output);
} else {
this.ssoHelper.debug("Logging out saml using HTTP Redirect");
var goto_url = request.getParameter('sysparm_goto_url');
if(goto_url != null){
response.sendRedirect(request.getParameter('sysparm_goto_url'));
}
else{
var req = this.SAML2.generateLogoutRequestURL(request);
if (GlideStringUtil.nil(req)) {
gs.logWarning("MultiSSOLogout: Logout request URL was null. Redirecting to a static page.");
response.sendRedirect("logout_success.do");
} else
response.sendRedirect("logout_redirect.do?sysparm_url=" + escape(req));
}
}
}
return true;
},
Regards,
Sachin