AzureAD / microsoft-authentication-library-for-js

Microsoft Authentication Library (MSAL) for JS
http://aka.ms/aadv2
MIT License
3.68k stars 2.65k forks source link

legacy method "withInterceptorsFromDi()" use in msal for angular standalone example. #7012

Open LastTribunal opened 7 months ago

LastTribunal commented 7 months ago

Core Library

MSAL.js v1 (@azure/msal or msal)

Wrapper Library

MSAL Angular (@azure/msal-angular)

Public or Confidential Client?

Public

Description

According to latest angular https://angular.io/api/common/http/withInterceptorsFromDi, this is absolute.. please update example to use https://angular.io/api/common/http/withInterceptors

Source

Internal (Microsoft)

jo-arroyo commented 7 months ago

@LastTribunal We are aware of this usage, but this requires some changes to the library that will be addressed in a future version of MSAL Angular.

Chachalotte commented 6 days ago

Hello, do you know if this issue has been resolved since April, or looked at again? We are trying to implement MSAL into our Angular application and would like to implement the recommendation from Angular instead of using DI-provided interceptors, which may be phased out soon in a later version.

jo-arroyo commented 6 days ago

@Chachalotte This has not yet been resolved, but is being considered for the next major version of MSAL Angular.