MSAL v2 to v3 migration | confusion about the initialization #7177
Labels
documentation
Related to documentation.
msal-angular
Related to @azure/msal-angular package
msal-node
Related to msal-node package
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL Node (@azure/msal-node)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Public or Confidential Client?
Public
Documentation Location
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-angular-v3-samples/angular16-sample-app/src/app/app.module.ts#L25
Description
In the documentation for migrating to version 2, we are instructed to create an instance of MSAL with two options:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/v2-migration.md#application-instantiation
However, in the MSAL Angular version 3 sample, this step is not performed:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-angular-v3-samples/angular16-sample-app/src/app/app.module.ts#L25
This discrepancy has led to confusion regarding whether the sample code is an accurate reference.
The text was updated successfully, but these errors were encountered: