|
public MsalProvider(IPublicClientApplication client, string[] scopes = null, bool autoSignIn = true) |
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 use scopes?.Select(...) so that we don't end up with a null deref.
note there's 2 ctors with this issue