-
Notifications
You must be signed in to change notification settings - Fork 2.7k
msal-common Performance / bypassing metadata resolution #8392
Copy link
Copy link
Closed
Labels
documentationRelated to documentation.Related to documentation.msal-browserRelated to msal-browser packageRelated to msal-browser packageno-issue-activityIssue author has not responded in 5 daysIssue author has not responded in 5 dayspublic-clientIssues regarding PublicClientApplicationsIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.
Metadata
Metadata
Assignees
Labels
documentationRelated to documentation.Related to documentation.msal-browserRelated to msal-browser packageRelated to msal-browser packageno-issue-activityIssue author has not responded in 5 daysIssue author has not responded in 5 dayspublic-clientIssues regarding PublicClientApplicationsIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Core Library
MSAL.js (@azure/msal-browser)
Wrapper Library
Not Applicable
Public or Confidential Client?
Public
Documentation Location
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-common/docs/performance.md
Description
I remember early on when using MSAL having to follow this doc to make the library bypass fetching the metadata. However, looking at the current behavior, it seems the library can assume a sane default based on some hard-coded values, and can skip metadata resolution by itself. Is this doc relevant anymore? In which scenarios would it still be beneficial to provide
cloudDiscoveryMetadataandauthorityMetadata?Also, regarding this line
What is a reasonable time-frame here?