From a6f77f7778485de84652852f1595be1c0fa6fecc Mon Sep 17 00:00:00 2001 From: Artem Astapenko <3767150+Jamakase@users.noreply.github.com> Date: Thu, 18 Nov 2021 00:46:55 +0300 Subject: [PATCH] Treat oauthFlowInitParameters just as hidden instead of getting rid of them (#8063) --- .../src/views/Connector/ServiceForm/useBuildForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/useBuildForm.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/useBuildForm.tsx index d5ec739a0182..1f9df09b1ab3 100644 --- a/airbyte-webapp/src/views/Connector/ServiceForm/useBuildForm.tsx +++ b/airbyte-webapp/src/views/Connector/ServiceForm/useBuildForm.tsx @@ -33,7 +33,8 @@ function useBuildInitialSchema( (schema as any).is_auth = true; const schemaWithoutPaths = removeNestedPaths( schema, - spec.oauthFlowInitParameters ?? [] + spec.oauthFlowInitParameters ?? [], + false ); const schemaWithoutOutputPats = removeNestedPaths(