@@ -464,88 +459,107 @@ function AuthEndpointFields(props: {
}}
/>
+ {/* useFieldArray used on this component - it creates empty customAuthEndpoint.customHeaders array on mount */}
+ {/* So only mount if expandCustomAuthEndpointField is true */}
+ {expandCustomAuthEndpointField && (
+
+ )}
+
- Set custom headers to be sent along the request with the payload to
- the authentication endpoint above. This can be used to verify the
- incoming requests
-
+
+
+
+ );
+ })}
+
+
-
+
+
+ Set custom headers to be sent along the request with the payload to
+ the authentication endpoint above. This can be used to verify the
+ incoming requests
+