I have a node cli application and uses msal-node to acquire a token. I’m able to fetch a token successfully but it keeps crashing with the error “no_loopback_server_exists”. And this happens to be in the file - LoopbackClient.js “throw NodeAuthError”.
Core Library
MSAL Node (@azure/msal-node)
Core Library Version
2.6.4
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
2.0.12
Public or Confidential Client?
Public
Description
I have a node cli application and uses msal-node to acquire a token. I’m able to fetch a token successfully but it keeps crashing with the error “no_loopback_server_exists”. And this happens to be in the file - LoopbackClient.js “throw NodeAuthError”.
Error Message
“no_loopback_server_exist“
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
If we follow exactly what in this document we will still get the error https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-cli-app-node-sign-in-sign-out
Expected Behavior
No loop back error
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response
Source
External (Customer)