diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx
index 9428ec880ec5a6c0b7ce2d2d8aaac553c0bdaa96..7e67730479e3a3bbec0f1cf4f94a9bf79ed3219c 100644
--- a/src/components/Header/Header.tsx
+++ b/src/components/Header/Header.tsx
@@ -48,14 +48,13 @@ const Header: React.FC<HeaderProps> = () => {
 
   const navigationItems = filterNavigationByDashboardRole(isAdmin);
 
-  // eslint-disable-next-line react-hooks/exhaustive-deps
   const signOutUrl = useMemo(() => {
     const { hostname } = window.location;
     // If we are developing locally, we need to use the init cluster's public URL
     if (hostname === 'localhost') {
       return `https://sso.init.stackspin.net/oauth2/sessions/logout`;
     }
-    return `https://sso.${hostname.replace('dashboard', '')}/oauth2/sessions/logout`;
+    return `https://${hostname.replace('dashboard', 'sso')}/oauth2/sessions/logout`;
   }, []);
 
   return (