Share via

OAUTH V2 issues with getting token back

Anonymous
2022-06-17T14:08:11.61+00:00

Hello,

I am running into some issue with getting a token back, for some reason my setup works locally and I am able to get the access_token back in localhost, but when I tried to get the token in a testing environment in production the call fails. The error I get back is the following

Error: connect ECONNREFUSED 40.126.29.8:443 at TCPConnectWrap.afterConnect [as oncomplete]

not sure why the post request is failing also not entirely sure what this error message means, any help would be great.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.