Optional
headersAdditional headers to include in requests.
Auth0 domain (e.g., 'your-tenant.auth0.com')
Optional
audienceAPI audience. Defaults to https://{domain}/api/v2/
Optional
telemetryEnable/disable telemetry. Defaults to true
Optional
clientCustom client information for telemetry
Optional
withCustom domain Header to use for whitelisted requests. When provided, the Auth0-Custom-Domain header will be added automatically to supported endpoints. This works seamlessly with custom fetchers - both the custom domain logic and your custom fetcher will be applied.
A function that returns the access token
Configuration for token-based authentication. Use this when you already have a valid Management API token.
Example: Basic token configuration
Example: Dynamic token with supplier function