Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: don't fetch workspace policy before oauth jumping to 2fa (#13218)

Liu Ji65a505103e78
diff --git a/frontend/src/views/OAuthCallback.vue b/frontend/src/views/OAuthCallback.vue
index 4412e880e4..c291e7205c 100644
--- a/frontend/src/views/OAuthCallback.vue
+++ b/frontend/src/views/OAuthCallback.vue
@@ -18,7 +18,7 @@ import { parse } from "qs";
import { onMounted, reactive } from "vue";
import { useRoute, useRouter } from "vue-router";
import { AUTH_MFA_MODULE, AUTH_SIGNIN_MODULE } from "@/router/auth";
-import { useAuthStore, useWorkspaceV1Store } from "@/store";
+import { useAuthStore } from "@/store";
import type { OAuthState, OAuthWindowEventPayload } from "../types";
interface LocalState {
@@ -95,7 +95,6 @@ const triggerAuthCallback = async () => {
},
web: true,
});
- await useWorkspaceV1Store().fetchIamPolicy();
if (mfaTempToken) {
const route = router.resolve({
name: AUTH_MFA_MODULE,