-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha does not work with provideHttpClient #5988
Comments
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @hectormmg please follow up. |
@grosch-intl Do you have a workaround solution? If you haved configured MsalInterceptor, can you share your configuration? |
I'm just using the HttpClientModule until Microsoft provides an update. |
Any updates on this? |
@grosch-intl Apologies for the delay, we will investigate this and update this thread when we have a fix. |
I manage to get it dynamic configurations to work with HttpClient, But then no other HttpClient calls work. @grosch-intl can you share your relevant main.ts |
@Marcel0024 I included that in the details of this ticket. |
@Marcel0024 have a look here #6080 For more details, check this repos out at https://github.com/mdddev/msal-b2c/blob/main/angular15-msal3-standalone |
@jo-arroyo Just updated to 3.0.0-beta.0 and still having the same issue. |
I suggest applying |
Adding |
@ckorherr Thanks, that works well. @jo-arroyo Should we close this ticket and open a new one asking for an interceptor that doesn't require the DI to be used? |
@grosch No need, we will track this issue as a feature request for an interceptor that doesn't require DI. Thanks |
Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
3.0.0-alpha.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
3.0.0-alpha.0
Public or Confidential Client?
Public
Description
If I try and use
provideHttpClient()
instead of importingHttpClientModule
then things don't work. There's not a token acquired and passed to the server.Error Message
No response
Msal Logs
No response
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
See code snippet
Expected Behavior
Shouldn't have to use the old HttpClientModule after angular 14.
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: