Hi @xkinjyou,
I understand! I confirmed that the ManagementClient
takes the agent
property: ManagementClientOptions | auth0
It is defined here: node-auth0/src/lib/models.ts at a7d08705f94f4515bed8811297e4b8c8b340aebb · auth0/node-auth0 · GitHub
I took a look at the https
module and am unclear on what is expected using https.Agent
. Some docs say an array, and some have it as an object, as you do.
Alternatively, I wonder if you are affected by this documented dd-trace
issue: Node-sdk; Management Client; FetchError: The request failed and the interceptors did not return an alternative response - #4 by crummy
I am going to keep looking into http
module and try to reproduce/get the agent
property to work in an Action of mine and will get back to you as soon as I can.
Thanks,
Mary Beth