Skip to content
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

Reduce calls to resolveEndpointsAsync #6838

Merged
merged 6 commits into from
Jan 25, 2024
Merged

Conversation

tnorling
Copy link
Collaborator

We are building an Authority object and parsing/validating endpoint metadata at least twice in a single request - once to validate it matches the account object passed in and again to build the final request object. This PR refactors to do both these steps at the same time using a single Authority object. Additionally, telemetry is added to track the number of times an API is invoked over the course of a request to identify redundancies easier.

@github-actions github-actions bot added msal-browser Related to msal-browser package msal-common Related to msal-common package labels Jan 22, 2024
@tnorling tnorling enabled auto-merge (squash) January 25, 2024 21:56
@tnorling tnorling merged commit 813bda7 into dev Jan 25, 2024
52 of 54 checks passed
@tnorling tnorling deleted the discoverAuthority-earlier branch January 25, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-browser Related to msal-browser package msal-common Related to msal-common package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants