Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 committed Mar 28, 2021
1 parent 0ec054b commit 436ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.Identity.Web/Resource/RequiredScopeFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void OnAuthorization(AuthorizationFilterContext context)

private void ValidateEffectiveScopes(AuthorizationFilterContext context)
{
if (_effectiveAcceptedScopes == null || _effectiveAcceptedScopes.Length > 0)
if (_effectiveAcceptedScopes == null || _effectiveAcceptedScopes.Length < 0)
{
throw new InvalidOperationException(IDWebErrorMessage.MissingRequiredScopesForAuthorizationFilter);
}
Expand Down

0 comments on commit 436ac7c

Please sign in to comment.