Skip to content

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

chore: update callback redirect (#8978)

boojack75f79ee18d3c
diff --git a/frontend/src/views/OAuthCallback.vue b/frontend/src/views/OAuthCallback.vue
index 6483c619d3..1536ff80e3 100644
--- a/frontend/src/views/OAuthCallback.vue
+++ b/frontend/src/views/OAuthCallback.vue
@@ -99,15 +99,16 @@ const triggerAuthCallback = async () => {
web: true,
});
if (mfaTempToken) {
- router.push({
+ const route = router.resolve({
name: "auth.mfa",
query: {
mfaTempToken,
redirect: oAuthState.redirect || "",
},
});
+ window.location.href = route.href;
} else {
- router.push(oAuthState.redirect || "/");
+ window.location.href = oAuthState.redirect || "/";
}
}
} else if (