AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(http-oauth2): ui improvement (#16802)
Talal Jaberef01b0a8ea2d
diff --git a/bun.lock b/bun.lockindex 3b782b14b09..8ab2b72adbb 100644--- a/bun.lock+++ b/bun.lock@@ -4465,7 +4465,7 @@},"packages/pieces/community/http-oauth2": {"name": "@activepieces/piece-http-oauth2",- "version": "0.3.1",+ "version": "0.4.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/http-oauth2/package.json b/packages/pieces/community/http-oauth2/package.jsonindex 5dcafbab33e..1e778655077 100644--- a/packages/pieces/community/http-oauth2/package.json+++ b/packages/pieces/community/http-oauth2/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-http-oauth2",- "version": "0.3.1",+ "version": "0.4.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","dependencies": {diff --git a/packages/pieces/community/http-oauth2/src/i18n/de.json b/packages/pieces/community/http-oauth2/src/i18n/de.jsonindex caf74fe8043..e855800afe5 100644--- a/packages/pieces/community/http-oauth2/src/i18n/de.json+++ b/packages/pieces/community/http-oauth2/src/i18n/de.json@@ -27,5 +27,23 @@"None": "Keine","Form Data": "Formulardaten","JSON": "JSON",- "Raw": "Rohe"+ "Raw": "Rohe",+ "Scopes": "Bereiche",+ "Where you sign in to approve access.": "Hier melden Sie sich an, um den Zugriff zu genehmigen.",+ "Where the access token is requested.": "Hier wird das Zugriffstoken angefordert.",+ "Separate scopes with spaces.": "Bereiche durch Leerzeichen trennen.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Kopieren Sie die Autorisierungs-URL, die Token-URL und die Bereiche aus der API-Dokumentation des Anbieters. Wenn Sie sich über den Anbieter anmelden, tragen Sie die Weiterleitungs-URL in dessen App-Einstellungen ein.",+ "Call any URL with the OAuth2 token from your connection.": "Beliebige URL mit dem OAuth2-Token aus Ihrer Verbindung aufrufen.",+ "Return Error as Output": "Fehler als Ausgabe zurückgeben",+ "Timeout": "Zeitlimit",+ "The full URL to call, including https:// or http://": "Die vollständige aufzurufende URL, einschließlich https:// oder http://",+ "GET reads data, POST creates it.": "GET liest Daten, POST erstellt sie.",+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",+ "Appended to the URL as ?key=value.": "Wird als ?key=value an die URL angehängt.",+ "How to encode the request body.": "Wie der Anfragetext kodiert wird.",+ "Route this request through an HTTP proxy.": "Diese Anfrage über einen HTTP-Proxy leiten.",+ "On a failed request, output the error instead of failing the step.": "Bei einer fehlgeschlagenen Anfrage den Fehler ausgeben, statt den Schritt abzubrechen.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Sekunden, die auf eine Antwort gewartet wird. Leer: bis zum Flow-Limit (10 Min.).",+ "Request": "Anfrage",+ "Data to send": "Zu sendende Daten"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/es.json b/packages/pieces/community/http-oauth2/src/i18n/es.jsonindex f648b2db587..9d4a36373bc 100644--- a/packages/pieces/community/http-oauth2/src/i18n/es.json+++ b/packages/pieces/community/http-oauth2/src/i18n/es.json@@ -27,5 +27,23 @@"None": "Ninguna","Form Data": "Datos de Formulario","JSON": "JSON",- "Raw": "Rápido"+ "Raw": "Rápido",+ "Scopes": "Ámbitos",+ "Where you sign in to approve access.": "Donde inicias sesión para aprobar el acceso.",+ "Where the access token is requested.": "Donde se solicita el token de acceso.",+ "Separate scopes with spaces.": "Separa los ámbitos con espacios.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Copia la URL de autorización, la URL del token y los ámbitos de la documentación de la API del proveedor. Si inicias sesión a través del proveedor, añade la URL de redirección en la configuración de su aplicación.",+ "Call any URL with the OAuth2 token from your connection.": "Llama a cualquier URL con el token OAuth2 de tu conexión.",+ "Return Error as Output": "Devolver error como salida",+ "Timeout": "Tiempo de espera",+ "The full URL to call, including https:// or http://": "La URL completa a llamar, incluido https:// o http://",+ "GET reads data, POST creates it.": "GET lee datos, POST los crea.",+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",+ "Appended to the URL as ?key=value.": "Se añade a la URL como ?key=value.",+ "How to encode the request body.": "Cómo codificar el cuerpo de la solicitud.",+ "Route this request through an HTTP proxy.": "Enruta esta solicitud a través de un proxy HTTP.",+ "On a failed request, output the error instead of failing the step.": "Si la solicitud falla, devuelve el error en lugar de fallar el paso.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera para una respuesta. Vacío: hasta el límite del flujo (10 min).",+ "Request": "Solicitud",+ "Data to send": "Datos a enviar"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/fr.json b/packages/pieces/community/http-oauth2/src/i18n/fr.jsonindex 2bbd6187200..6332764e9eb 100644--- a/packages/pieces/community/http-oauth2/src/i18n/fr.json+++ b/packages/pieces/community/http-oauth2/src/i18n/fr.json@@ -27,5 +27,23 @@"None": "Aucun","Form Data": "Données du formulaire","JSON": "JSON",- "Raw": "Brut"+ "Raw": "Brut",+ "Scopes": "Portées",+ "Where you sign in to approve access.": "Où vous vous connectez pour approuver l'accès.",+ "Where the access token is requested.": "Où le jeton d'accès est demandé.",+ "Separate scopes with spaces.": "Séparez les portées par des espaces.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Copiez l'URL d'autorisation, l'URL du jeton et les portées depuis la documentation API du fournisseur. Si vous vous connectez via le fournisseur, ajoutez l'URL de redirection dans les paramètres de son application.",+ "Call any URL with the OAuth2 token from your connection.": "Appelle n'importe quelle URL avec le jeton OAuth2 de votre connexion.",+ "Return Error as Output": "Renvoyer l'erreur comme sortie",+ "Timeout": "Délai d'expiration",+ "The full URL to call, including https:// or http://": "L'URL complète à appeler, y compris https:// ou http://",+ "GET reads data, POST creates it.": "GET lit des données, POST en crée.",+ "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",+ "Appended to the URL as ?key=value.": "Ajouté à l'URL sous la forme ?key=value.",+ "How to encode the request body.": "Comment encoder le corps de la requête.",+ "Route this request through an HTTP proxy.": "Faire passer cette requête par un proxy HTTP.",+ "On a failed request, output the error instead of failing the step.": "En cas d'échec de la requête, renvoyer l'erreur au lieu de faire échouer l'étape.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Secondes d'attente d'une réponse. Vide : jusqu'à la limite du flux (10 min).",+ "Request": "Requête",+ "Data to send": "Données à envoyer"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/ja.json b/packages/pieces/community/http-oauth2/src/i18n/ja.jsonindex 9fae1620378..0b9afdbbc8b 100644--- a/packages/pieces/community/http-oauth2/src/i18n/ja.json+++ b/packages/pieces/community/http-oauth2/src/i18n/ja.json@@ -27,5 +27,23 @@"None": "なし","Form Data": "フォームデータ","JSON": "JSON",- "Raw": "Raw"+ "Raw": "Raw",+ "Scopes": "スコープ",+ "Where you sign in to approve access.": "アクセスを承認するためにサインインする URL です。",+ "Where the access token is requested.": "アクセストークンを要求する URL です。",+ "Separate scopes with spaces.": "スコープはスペースで区切ります。",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "認可 URL、トークン URL、スコープをプロバイダーの API ドキュメントからコピーしてください。プロバイダー経由でサインインする場合は、リダイレクト URL をそのアプリ設定に追加してください。",+ "Call any URL with the OAuth2 token from your connection.": "接続の OAuth2 トークンを使って任意の URL を呼び出します。",+ "Return Error as Output": "エラーを出力として返す",+ "Timeout": "タイムアウト",+ "The full URL to call, including https:// or http://": "呼び出す完全な URL(https:// または http:// を含む)",+ "GET reads data, POST creates it.": "GET はデータを読み取り、POST は作成します。",+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",+ "Appended to the URL as ?key=value.": "URLの末尾に ?key=value の形で追加されます。",+ "How to encode the request body.": "リクエスト本文のエンコード方法です。",+ "Route this request through an HTTP proxy.": "このリクエストを HTTP プロキシ経由で送信します。",+ "On a failed request, output the error instead of failing the step.": "リクエスト失敗時にステップを失敗させず、エラーを出力します。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "応答を待つ秒数です。空欄にすると、フローの上限(10分)まで待ちます。",+ "Request": "リクエスト",+ "Data to send": "送信するデータ"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/nl.json b/packages/pieces/community/http-oauth2/src/i18n/nl.jsonindex a18579dff0c..25d96950c09 100644--- a/packages/pieces/community/http-oauth2/src/i18n/nl.json+++ b/packages/pieces/community/http-oauth2/src/i18n/nl.json@@ -27,5 +27,23 @@"None": "geen","Form Data": "Formulieren gegevens","JSON": "JSON",- "Raw": "Onbewerkte"+ "Raw": "Onbewerkte",+ "Scopes": "Scopes",+ "Where you sign in to approve access.": "Waar u inlogt om toegang goed te keuren.",+ "Where the access token is requested.": "Waar het toegangstoken wordt aangevraagd.",+ "Separate scopes with spaces.": "Scheid scopes met spaties.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Kopieer de autorisatie-URL, token-URL en scopes uit de API-documentatie van de provider. Als u via de provider inlogt, voeg dan de omleidings-URL toe aan de app-instellingen van de provider.",+ "Call any URL with the OAuth2 token from your connection.": "Roep elke URL aan met het OAuth2-token uit uw verbinding.",+ "Return Error as Output": "Fout als uitvoer teruggeven",+ "Timeout": "Time-out",+ "The full URL to call, including https:// or http://": "De volledige URL om aan te roepen, inclusief https:// of http://",+ "GET reads data, POST creates it.": "GET leest gegevens, POST maakt ze aan.",+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",+ "Appended to the URL as ?key=value.": "Toegevoegd aan de URL als ?key=value.",+ "How to encode the request body.": "Hoe de aanvraagbody wordt gecodeerd.",+ "Route this request through an HTTP proxy.": "Stuur deze aanvraag via een HTTP-proxy.",+ "On a failed request, output the error instead of failing the step.": "Bij een mislukt verzoek de fout als uitvoer geven in plaats van de stap te laten mislukken.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconden wachten op een antwoord. Leeg: tot de flowlimiet (10 min).",+ "Request": "Verzoek",+ "Data to send": "Te verzenden gegevens"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/pt.json b/packages/pieces/community/http-oauth2/src/i18n/pt.jsonindex c67cafbbba6..a3d34930b27 100644--- a/packages/pieces/community/http-oauth2/src/i18n/pt.json+++ b/packages/pieces/community/http-oauth2/src/i18n/pt.json@@ -27,5 +27,23 @@"None": "Nenhuma","Form Data": "Dados de Formulário","JSON": "JSON",- "Raw": "RAW"+ "Raw": "RAW",+ "Scopes": "Escopos",+ "Where you sign in to approve access.": "Onde você entra para aprovar o acesso.",+ "Where the access token is requested.": "Onde o token de acesso é solicitado.",+ "Separate scopes with spaces.": "Separe os escopos com espaços.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Copie a URL de autorização, a URL do token e os escopos da documentação da API do provedor. Se você entrar pelo provedor, adicione a URL de redirecionamento às configurações do app dele.",+ "Call any URL with the OAuth2 token from your connection.": "Chama qualquer URL com o token OAuth2 da sua conexão.",+ "Return Error as Output": "Retornar erro como saída",+ "Timeout": "Tempo limite",+ "The full URL to call, including https:// or http://": "A URL completa a chamar, incluindo https:// ou http://",+ "GET reads data, POST creates it.": "GET lê dados, POST os cria.",+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",+ "Appended to the URL as ?key=value.": "Adicionado à URL como ?key=value.",+ "How to encode the request body.": "Como codificar o corpo da requisição.",+ "Route this request through an HTTP proxy.": "Envia esta requisição por um proxy HTTP.",+ "On a failed request, output the error instead of failing the step.": "Se a requisição falhar, retorna o erro em vez de falhar a etapa.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera por uma resposta. Vazio: até o limite do fluxo (10 min).",+ "Request": "Requisição",+ "Data to send": "Dados a enviar"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/ru.json b/packages/pieces/community/http-oauth2/src/i18n/ru.jsonindex a6e02259fee..69bffc069f2 100644--- a/packages/pieces/community/http-oauth2/src/i18n/ru.json+++ b/packages/pieces/community/http-oauth2/src/i18n/ru.json@@ -28,5 +28,23 @@"None": "Нет","Form Data": "Данные формы","JSON": "JSON",- "Raw": "Сырье"+ "Raw": "Сырье",+ "Scopes": "Области",+ "Where you sign in to approve access.": "Адрес, где вы входите, чтобы разрешить доступ.",+ "Where the access token is requested.": "Адрес, где запрашивается токен доступа.",+ "Separate scopes with spaces.": "Разделяйте области пробелами.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Скопируйте URL авторизации, URL токена и области из документации API провайдера. Если вы входите через провайдера, добавьте URL перенаправления в настройки его приложения.",+ "Call any URL with the OAuth2 token from your connection.": "Вызывает любой URL с токеном OAuth2 из вашего подключения.",+ "Return Error as Output": "Возвращать ошибку как результат",+ "Timeout": "Тайм-аут",+ "The full URL to call, including https:// or http://": "Полный URL для вызова, включая https:// или http://",+ "GET reads data, POST creates it.": "GET читает данные, POST создаёт их.",+ "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",+ "Appended to the URL as ?key=value.": "Добавляется к URL как ?key=value.",+ "How to encode the request body.": "Как кодировать тело запроса.",+ "Route this request through an HTTP proxy.": "Отправлять этот запрос через HTTP-прокси.",+ "On a failed request, output the error instead of failing the step.": "При неудачном запросе вернуть ошибку вместо сбоя шага.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Секунды ожидания ответа. Пусто: до лимита потока (10 мин).",+ "Request": "Запрос",+ "Data to send": "Данные для отправки"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/translation.json b/packages/pieces/community/http-oauth2/src/i18n/translation.jsonindex 38b334068b5..9920adcfeea 100644--- a/packages/pieces/community/http-oauth2/src/i18n/translation.json+++ b/packages/pieces/community/http-oauth2/src/i18n/translation.json@@ -1,13 +1,13 @@{"Authorize URL": "Authorize URL","Token URL": "Token URL",- "Scopes (whitespace separated)": "Scopes (whitespace separated)",- "OAuth2 Authorize URL": "OAuth2 Authorize URL",- "OAuth2 Token URL": "OAuth2 Token URL",- "OAuth2 Scopes": "OAuth2 Scopes",- "OAuth2": "OAuth2",+ "Scopes": "Scopes",+ "Where you sign in to approve access.": "Where you sign in to approve access.",+ "Where the access token is requested.": "Where the access token is requested.",+ "Separate scopes with spaces.": "Separate scopes with spaces.",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.","Send an OAuth2 Request": "Send an OAuth2 Request",- "Sends HTTP request to a specified URL that requires OAuth 2.0 authorization and returns the response.": "Sends HTTP request to a specified URL that requires OAuth 2.0 authorization and returns the response.",+ "Call any URL with the OAuth2 token from your connection.": "Call any URL with the OAuth2 token from your connection.","URL": "URL","Method": "Method","Headers": "Headers",@@ -16,12 +16,21 @@"Body": "Body","Use Proxy": "Use Proxy","Proxy Settings": "Proxy Settings",- "No Error on Failure": "No Error on Failure",- "Timeout (in seconds)": "Timeout (in seconds)",- "Use a proxy for this request": "Use a proxy for this request",+ "Return Error as Output": "Return Error as Output",+ "Timeout": "Timeout",+ "The full URL to call, including https:// or http://": "The full URL to call, including https:// or http://",+ "GET reads data, POST creates it.": "GET reads data, POST creates it.",+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",+ "Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.",+ "How to encode the request body.": "How to encode the request body.",+ "Route this request through an HTTP proxy.": "Route this request through an HTTP proxy.",+ "On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).","GET": "GET","POST": "POST","PUT": "PUT","PATCH": "PATCH",- "DELETE": "DELETE"+ "DELETE": "DELETE",+ "Request": "Request",+ "Data to send": "Data to send"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/i18n/zh.json b/packages/pieces/community/http-oauth2/src/i18n/zh.jsonindex f3e65473c32..12f63998352 100644--- a/packages/pieces/community/http-oauth2/src/i18n/zh.json+++ b/packages/pieces/community/http-oauth2/src/i18n/zh.json@@ -1,21 +1,21 @@{- "Authorize URL": "Authorize URL",- "Token URL": "Token URL",+ "Authorize URL": "授权 URL",+ "Token URL": "令牌 URL","Scopes (whitespace separated)": "Scopes (whitespace separated)","OAuth2 Authorize URL": "OAuth2 Authorize URL","OAuth2 Token URL": "OAuth2 Token URL","OAuth2 Scopes": "OAuth2 Scopes","OAuth2": "OAuth2",- "Send an OAuth2 Request": "Send an OAuth2 Request",+ "Send an OAuth2 Request": "发送 OAuth2 请求","Sends HTTP request to a specified URL that requires OAuth 2.0 authorization and returns the response.": "Sends HTTP request to a specified URL that requires OAuth 2.0 authorization and returns the response.","URL": "URL","Method": "方法","Headers": "信头","Query Parameters": "查询参数",- "Body Type": "Body Type",+ "Body Type": "正文类型","Body": "正文内容",- "Use Proxy": "Use Proxy",- "Proxy Settings": "Proxy Settings",+ "Use Proxy": "使用代理",+ "Proxy Settings": "代理设置","No Error on Failure": "失败时没有错误","Timeout (in seconds)": "超时(秒)","Use a proxy for this request": "Use a proxy for this request",@@ -27,5 +27,23 @@"None": "无","Form Data": "表单数据","JSON": "JSON",- "Raw": "原始文件"+ "Raw": "原始文件",+ "Scopes": "作用域",+ "Where you sign in to approve access.": "用于登录并批准访问的地址。",+ "Where the access token is requested.": "用于请求访问令牌的地址。",+ "Separate scopes with spaces.": "用空格分隔多个作用域。",+ "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.": "从服务提供方的 API 文档中复制授权 URL、令牌 URL 和作用域。如果通过服务提供方登录,请将重定向 URL 添加到其应用设置中。",+ "Call any URL with the OAuth2 token from your connection.": "使用连接中的 OAuth2 令牌调用任意 URL。",+ "Return Error as Output": "将错误作为输出返回",+ "Timeout": "超时",+ "The full URL to call, including https:// or http://": "要调用的完整 URL,包括 https:// 或 http://",+ "GET reads data, POST creates it.": "GET 读取数据,POST 创建数据。",+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",+ "Appended to the URL as ?key=value.": "以 ?key=value 形式附加到 URL。",+ "How to encode the request body.": "请求正文的编码方式。",+ "Route this request through an HTTP proxy.": "通过 HTTP 代理发送此请求。",+ "On a failed request, output the error instead of failing the step.": "请求失败时输出错误,而不是让步骤失败。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "等待响应的秒数。留空:最长为流程上限(10 分钟)。",+ "Request": "请求",+ "Data to send": "要发送的数据"}\ No newline at end of filediff --git a/packages/pieces/community/http-oauth2/src/index.ts b/packages/pieces/community/http-oauth2/src/index.tsindex 71543ae1428..394623e1d49 100644--- a/packages/pieces/community/http-oauth2/src/index.ts+++ b/packages/pieces/community/http-oauth2/src/index.ts@@ -2,7 +2,7 @@ import { createPiece, PieceAuth, Property } from "@activepieces/pieces-frameworkimport { httpOauth2RequestAction } from "./lib/actions/send-oauth2-http-request";export const httpOauth2Auth = PieceAuth.OAuth2({- description: 'OAuth2',+ description: "Copy the authorize URL, token URL and scopes from the provider's API docs. When you sign in through the provider, add the Redirect URL to its app settings.",authUrl: '{authUrl}',tokenUrl: '{tokenUrl}',required: true,@@ -12,17 +12,17 @@ export const httpOauth2Auth = PieceAuth.OAuth2({authUrl: Property.ShortText({displayName: 'Authorize URL',required: true,- description: 'OAuth2 Authorize URL',+ description: 'Where you sign in to approve access.',}),tokenUrl: Property.ShortText({displayName: 'Token URL',required: true,- description: 'OAuth2 Token URL',+ description: 'Where the access token is requested.',}),scopes: Property.ShortText({- displayName: 'Scopes (whitespace separated)',+ displayName: 'Scopes',required: true,- description: 'OAuth2 Scopes',+ description: 'Separate scopes with spaces.',}),},});@@ -30,7 +30,7 @@ export const httpOauth2Auth = PieceAuth.OAuth2({export const httpOauth2ClientCredentials = createPiece({displayName: "HTTP (OAuth2)",auth: httpOauth2Auth,- minimumSupportedRelease: '0.56.0',+ minimumSupportedRelease: '0.88.2',logoUrl: "https://cdn.activepieces.com/pieces/new-core/http.svg",authors: ['mhshiba'diff --git a/packages/pieces/community/http-oauth2/src/lib/actions/send-oauth2-http-request.ts b/packages/pieces/community/http-oauth2/src/lib/actions/send-oauth2-http-request.tsindex f8d97845c76..0206b4cb167 100644--- a/packages/pieces/community/http-oauth2/src/lib/actions/send-oauth2-http-request.ts+++ b/packages/pieces/community/http-oauth2/src/lib/actions/send-oauth2-http-request.ts@@ -26,17 +26,20 @@ export const httpOauth2RequestAction = createAction({name: 'send-oauth2-request',classification: 'WRITE',displayName: 'Send an OAuth2 Request',- description:- 'Sends HTTP request to a specified URL that requires OAuth 2.0 authorization and returns the response.',+ description: 'Call any URL with the OAuth2 token from your connection.',aiMetadata: { description: 'Calls any HTTP endpoint with an OAuth 2.0 bearer token injected from the connection, choosing the method (GET/POST/PUT/PATCH/DELETE) and body mode (none, JSON, raw, or form-data), optionally routing through an HTTP proxy or returning the error text instead of throwing when the failsafe option is on. Prefer it over the core HTTP piece Send HTTP Request action only when the target API needs a managed OAuth2 token that Activepieces refreshes; it requires an OAuth2 connection set up with the authorize URL, token URL, and scopes, plus a full request URL. Not idempotent in general: the effect depends on the chosen method, and non-GET calls can create or change data on each call.', idempotent: false },props: {url: Property.ShortText({displayName: 'URL',+ description: 'The full URL to call, including https:// or http://',+ placeholder: 'https://api.example.com/v1/users',required: true,}),method: Property.StaticDropdown({displayName: 'Method',+ description: 'GET reads data, POST creates it.',required: true,+ defaultValue: HttpMethod.GET,options: {options: [{ value: HttpMethod.GET, label: 'GET' },@@ -49,14 +52,17 @@ export const httpOauth2RequestAction = createAction({}),headers: Property.Object({displayName: 'Headers',+ description: 'Authorization headers are injected automatically from your connection.',required: false,}),queryParams: Property.Object({displayName: 'Query Parameters',+ description: 'Appended to the URL as ?key=value.',required: false,}),body_type: Property.Dropdown({displayName: 'Body Type',+ description: 'How to encode the request body.',required: false,defaultValue: 'none',auth: httpOauth2Auth,@@ -73,8 +79,8 @@ export const httpOauth2RequestAction = createAction({disabled: false,options: [{ label: 'None', value: 'none' },- { label: 'Form Data', value: 'form_data' },{ label: 'JSON', value: 'json' },+ { label: 'Form Data', value: 'form_data' },{ label: 'Raw', value: 'raw' },],};@@ -120,14 +126,16 @@ export const httpOauth2RequestAction = createAction({use_proxy: Property.Checkbox({displayName: 'Use Proxy',defaultValue: false,- description: 'Use a proxy for this request',+ description: 'Route this request through an HTTP proxy.',required: false,+ advanced: true,}),proxy_settings: Property.DynamicProperties({displayName: 'Proxy Settings',auth: httpOauth2Auth,refreshers: ['use_proxy'],required: false,+ advanced: true,props: async ({ use_proxy }) => {if (!use_proxy) return {};@@ -135,6 +143,7 @@ export const httpOauth2RequestAction = createAction({fields['proxy_host'] = Property.ShortText({displayName: 'Proxy Host',+ placeholder: 'proxy.example.com',required: true,});@@ -150,6 +159,7 @@ export const httpOauth2RequestAction = createAction({fields['proxy_password'] = Property.ShortText({displayName: 'Proxy Password',+ description: 'Stored in the flow and visible in exports.',required: false,});@@ -157,14 +167,34 @@ export const httpOauth2RequestAction = createAction({},}),failsafe: Property.Checkbox({- displayName: 'No Error on Failure',+ displayName: 'Return Error as Output',+ description: 'On a failed request, output the error instead of failing the step.',required: false,+ advanced: true,}),timeout: Property.Number({- displayName: 'Timeout (in seconds)',+ displayName: 'Timeout',+ description: 'Seconds to wait for a response. Empty: up to the flow limit (10 min).',required: false,+ advanced: true,}),},+ propertyGroups: [+ {+ key: 'request',+ display: 'section',+ label: 'Request',+ icon: 'send',+ props: ['method', 'url', 'headers', 'queryParams'],+ },+ {+ key: 'payload',+ display: 'section',+ label: 'Data to send',+ icon: 'code',+ props: ['body_type', 'body'],+ },+ ],errorHandlingOptions: {continueOnFailure: { hide: true },retryOnFailure: { defaultValue: true },@@ -270,6 +300,9 @@ export const httpOauth2RequestAction = createAction({headers: proxyHeaders,body: proxyBody,dispatcher: proxyAgent,+ ...(request.timeout && request.timeout > 0+ ? { signal: AbortSignal.timeout(request.timeout) }+ : {}),} as RequestInit & { dispatcher: ProxyAgent });const proxyContentType = proxiedResponse.headers.get('content-type') ?? '';