Skip to content

Instance discovery throws exception only with invalid authority#606

Merged
siddhijain merged 2 commits intodevfrom
SJAIN/Issue-605
Mar 13, 2023
Merged

Instance discovery throws exception only with invalid authority#606
siddhijain merged 2 commits intodevfrom
SJAIN/Issue-605

Conversation

@siddhijain
Copy link
Contributor

If a call to instance discovery fails, MSAL throws an exception in all the cases.

This PR adds 2 things -

If instance discovery fails with an error except "invalid_instance", MSAL ignores it
Once instance discovery fails, MSAL should not re-attempt to perform instance discovery on that environment

@Avery-Dunn Avery-Dunn self-requested a review March 8, 2023 16:51
@siddhijain siddhijain requested a review from bgavrilMS March 9, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants