Description
Core Library
MSAL.js (@azure/msal-browser)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Public or Confidential Client?
Public
Description
Angular Team will soon remove the option to use Http Interceptors which are defined using the old class based method.
https://angular.dev/api/common/http/withInterceptorsFromDi
In favour of functional based interceptors https://angular.dev/api/common/http/HttpInterceptorFn registering them using https://angular.dev/api/common/http/withInterceptors.
Unfortunately MsalInterceptor is class based and would soon become obsolete if it's not updated to the new api.
Can you guys please release an update to support the new interceptor type?
It can even be ok to have for a period of time both versions available.
MsalInterceptor be the one that maintain support for DI,
And provide another one MsalInterceptorFunctional that can be used instead in the new context.
Thank you