diff --git a/src/actions/auth.js b/src/actions/auth.js
index 937d872627cfc8187dd5dfd715e4ae6f7dab4795..4de2837ce0c81f8861cebff2482c02502b1e2f91 100644
--- a/src/actions/auth.js
+++ b/src/actions/auth.js
@@ -58,6 +58,11 @@ export const getUserData = () => async (dispatch) => {
     });
   } catch (e) {
     console.log(e);
+
+    // Invalid session bug workaround
+    if (!e.response) {
+      window.location = "/oidc/logout"
+    }
   }
 };