diff --git a/.gitignore b/.gitignore index a1243acede..b21650280d 100644 --- a/.gitignore +++ b/.gitignore @@ -84,6 +84,8 @@ typings/ !.yarn/sdks !.yarn/versions +.vite + fakeNodes.json /build/ \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 611b1a7b4a..484b39ad49 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1124,6 +1124,12 @@ export default { this.startSocket() } } catch (error) { + // in case of a redirect (302) trigger a page reload + // needed to fix external auth issues #3427 + if (error.response?.status === 302) { + location.reload() + return + } setTimeout(() => (this.error = error.message), 1000) log.error(error) }