History

fix versions

Rhys Sullivan committed 7 months ago

Commit d09401b1 parent d5a2fe62 files · +2 −2Browse files

Unified · Split

2 files
  1. packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx +1 −1
  2. packages/plugins/mcp/src/react/AddMcpSource.tsx +1 −1
packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx+1−1
@@ -514,7 +514,7 @@ export default function AddGoogleDiscoverySource(props: { · 513 unmodified lines
514 discoveryUrl: discoveryUrl.trim(),514 discoveryUrl: discoveryUrl.trim(),
515 clientId: clientId.trim(),515 clientId: clientId.trim(),
516 clientSecretSecretId,516 clientSecretSecretId,
517 redirectUrl: `${window.location.origin}/v1/google-discovery/oauth/callback`,517 redirectUrl: `${window.location.origin}/api/google-discovery/oauth/callback`,
518 scopes: probe.scopes,518 scopes: probe.scopes,
519 },519 },
520 });520 });
packages/plugins/mcp/src/react/AddMcpSource.tsx+1−1
@@ -248,7 +248,7 @@ export default function AddMcpSource(props: { · 247 unmodified lines
248 const handleOAuth = useCallback(async () => {248 const handleOAuth = useCallback(async () => {
249 dispatch({ type: "oauth-start" });249 dispatch({ type: "oauth-start" });
250 try {250 try {
251 const redirectUrl = `${window.location.origin}/v1/mcp/oauth/callback`;251 const redirectUrl = `${window.location.origin}/api/mcp/oauth/callback`;
252 const result = await doStartOAuth({252 const result = await doStartOAuth({
253 path: { scopeId },253 path: { scopeId },
254 payload: { endpoint: state.url.trim(), redirectUrl },254 payload: { endpoint: state.url.trim(), redirectUrl },