Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.17
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
None
Description
post_request_failed error is thrown when network connection is disabled with MSAL2.17
Error Message
code: "post_request_failed",
desc: "Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"
Msal Logs
NA
MSAL Configuration
{
auth: {
clientId: "5e3ce6c0-2b1f-4285-8d4b-75ee78787346"
}
}
Relevant Code Snippets
Reproduction Steps
- ensure there is no network
- call acquireTokenSilent using MSAL2 - this.userAgentApplication.acquireTokenSilent(request)
Expected Behavior
Error code should be no_network_connectivity
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response
Source
Internal (Microsoft)
Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.17
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
None
Description
post_request_failed error is thrown when network connection is disabled with MSAL2.17
Error Message
code: "post_request_failed",
desc: "Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"
Msal Logs
NA
MSAL Configuration
Relevant Code Snippets
NAReproduction Steps
Expected Behavior
Error code should be no_network_connectivity
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response
Source
Internal (Microsoft)