diff --git a/packages/hoppscotch-common/src/components/share/index.vue b/packages/hoppscotch-common/src/components/share/index.vue index 8414a5c6e..a407ac675 100644 --- a/packages/hoppscotch-common/src/components/share/index.vue +++ b/packages/hoppscotch-common/src/components/share/index.vue @@ -249,7 +249,11 @@ const loading = computed( onLoggedIn(() => { try { - adapter.initialize() + // wait for a bit to let the auth token to be set + // because in some race conditions, the token is not set this fixes that + setTimeout(() => { + adapter.initialize() + }, 10) } catch (e) { console.error(e) }