-
Notifications
You must be signed in to change notification settings - Fork 39
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
MsalProvider constructor crashes unless you pass scopes #195
Labels
Comments
ghost
added
the
needs triage 🔍
label
Aug 15, 2022
Hello asklar, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Graph-Controls/CommunityToolkit.Authentication.Msal/MsalProvider.cs
Line 63 in d985141
the default value for scopes is null, but we unconditionally run the
Select(...)
on it. Fix would be to either not provide a default argument for scopes (since it's arguably needed), or at least usescopes?.Select(...)
so that we don't end up with a null deref.note there's 2 ctors with this issue
The text was updated successfully, but these errors were encountered: