Log Out Page customization

Vijay Baokar
Kilo Sage

Hi Folks,

We have recently implemented SSO for our client which is working as expected however the ask is suppose when any user is authenticated through SSO and further MFA but if user profile is already not available in ServiceNow sys_user table then as per OOTB system redirect such users to "logout_success" page with some message "

You have successfully logged out" but in such case we need to redirect user to another custom page which will have some custom message.
 
Currently is user manually logout themself in that scenario also system redirect user to the same page. So if we make any changes to the same page "logout_success" then it will affect both the scenarios.
We don't want to make any changes to manual logout scenario however we just need to make the changes when someone login through SSO but if that user is not available in system then we should show some custom message instead of showing the same logout page.