refac
This commit is contained in:
1 parent
1c13fedb16
commit
d241df8d79
3 files changed
+44
-3
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user