You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project has migrated from asp.net core cookie authentication to MSAL client side in Angular. Calling my api from angular the interceptor is adding the user his accesstoken as header, this works fine in almost all situations. Except while using ngx-uploader. The api response is 401 unauthorized.
Looking at the source code of ngx-uploader it is using XMLHttpRequest to call an api. My conclusing is that the HttpInterceptor is not adding the accesstoken in here.
Error Message
Security
Is this issue security related?
Regression
Did this behavior work before?
Version:
MSAL Configuration
// Provide configuration values here.// For Azure B2C issues, please include your policies.
Reproduction steps
// Provide relevant code snippets here.// For Azure B2C issues, please include your policies.
Expected behavior
Accesstoken is added as header automaticly, just like other Http calls.
Browsers/Environment
[x ] Chrome
Firefox
Edge
Safari
IE
Other (Please add browser name here)
The text was updated successfully, but these errors were encountered:
rfcdejong
added
the
bug
A problem that needs to be fixed for the feature to function as intended.
label
Jul 7, 2020
Library
[email protected]
or@azure/[email protected]
@azure/[email protected]
@azure/[email protected]
@azure/[email protected]
@azure/[email protected]
Framework
Angular 9
Description
My project has migrated from asp.net core cookie authentication to MSAL client side in Angular. Calling my api from angular the interceptor is adding the user his accesstoken as header, this works fine in almost all situations. Except while using ngx-uploader. The api response is 401 unauthorized.
Looking at the source code of ngx-uploader it is using XMLHttpRequest to call an api. My conclusing is that the HttpInterceptor is not adding the accesstoken in here.
Error Message
Security
Regression
Version:
MSAL Configuration
Reproduction steps
Expected behavior
Accesstoken is added as header automaticly, just like other Http calls.
Browsers/Environment
The text was updated successfully, but these errors were encountered: