85212 (4) [Avatar] Offline
#1
User Profile Information (from Auth0 via Lambda)

Raw JSON from Auth0:
{
"errorMessage": "getaddrinfo ENOTFOUND undefined undefined:443",
"errorType": "Error",
"stackTrace": [
"errnoException (dns.js:26:10)",
"GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)"
]
}
85212 (4) [Avatar] Offline
#2
ok, solved it: env variable should be AUTH0_DOMAIN in the code


var options = {
url: 'https://'+ process.env.AUTH0_DOMAIN + '/tokeninfo',
method: 'POST',
json: true,
body: body
};