How to Send x-correlation-id When Using node-auth0

Overview
This article will explain how to send the x-correlation-id header when using node-auth0.
Solution
Specify the `x-correlation-id` value in the headers:
new ManagementClient({
  domain,
  clientId,,
  headers: { 'x-correlation-id': 'example' },
  clientSecret,
  audience,
})

 

Recommended content

No recommended content found...