This commit is contained in:
Timothy Jaeryang Baek committed 2026-08-25 13:39:54 -04:00
1 parent 1c13fedb16
commit d241df8d79
3 files changed
+44 -3

No files matched your search

+4 -1
View File
@@ -573,7 +573,10 @@ export const initiateOAuthRedirect = (tool: {
sessionStorage.setItem('pendingOAuthToolId', tool.id);
sessionStorage.setItem('oauthRedirectInProgressToolId', tool.id);
const authUrl = getOAuthClientAuthorizationUrl(tool.serverId, tool.authType ?? 'mcp');
window.open(authUrl, '_self', 'noopener');
const tab = window.open(authUrl, '_blank');
if (!tab) {
window.open(authUrl, '_self', 'noopener');
}
};
export const getCodeExecutionConfig = async (token: string) => {