Skip to content

Commit

Permalink
Merge pull request #1978 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Merge dev into master
  • Loading branch information
millicentachieng committed Mar 4, 2024
2 parents 8f49bed + 33a1d8e commit bdb7c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PermissionsService/Services/PermissionsStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private async Task<string> FetchHttpSourceDocument(string sourceUri)
}
else
{
var authZChecker = new AuthZChecker();
var authZChecker = new AuthZChecker() { LenientMatch = true };
authZChecker.Load(permissionsDocument);

var scopesByRequestUrl = new ConcurrentDictionary<string, IEnumerable<ScopeInformation>>();
Expand Down Expand Up @@ -478,7 +478,7 @@ private static IEnumerable<ScopeInformation> GetAllScopesFromDocument(Permission
else
{
return allPermissions
.Where(x => x.Value.Schemes.Keys.Any(k => k.Equals(scopeType.ToString(),StringComparison.OrdinalIgnoreCase)))
.Where(x => x.Value.Schemes.Keys.Any(k => k.Equals(scopeType.ToString(), StringComparison.OrdinalIgnoreCase)))
.Select(grant => new ScopeInformation
{
ScopeName = grant.Key,
Expand Down

0 comments on commit bdb7c9c

Please sign in to comment.