Log out cockpit


#1

Hello,

I’m able to customise the logout operation within in cockpit using the following:

if(!auth && isLoggedIn) {
//custom SSO logout
}

The issue is that when I click on the Sign out button on the header it first redirects to Cockpit login screen before redirecting to the main SSO sign page. Is there a way to overwrite the initial cockpit login and just jump straight to my custom SSO login page?

Thanks