Npm run Authenticate randomly does not work: ConstellationDX API Custom Component
The issue is that when I "run npm authenticate" the chrome browser opens with one of these 3 outcomes:
- 502 Bad Gateway
- This happens the most often.
- VSCode terminal will continue to await for a response.
- Shows the Pega Login Page. Once Logging in it then shows 502 Bad Gateway.
- Happened rarely.
- VSCode terminal will continue to await for a response.
- Correct Pega Login and then correct redirection to localhost url to show that it has authenticated correctly.
----
I have created custom components and have properly set up my tasks.config.json file with all the server details needed.
I have also ensured that the O-Auth2.0 client Id, (DX-Component Dev) and access configurations are correct as well.
My operator does have rule check out enabled.
I have also constantly deleted cookies, login history, etc... but none of these solved the issue.