Skip to content

Commit

Permalink
Fix the invalid LINQ filter used in OpenIddictEntityFrameworkCoreAuth…
Browse files Browse the repository at this point in the history
…orizationStore.FindByApplicationIdAsync()
  • Loading branch information
simon-wacker authored Dec 20, 2024
1 parent 5a8419d commit ea7a9e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public virtual IAsyncEnumerable<TAuthorization> FindByApplicationIdAsync(

return (from authorization in Authorizations.Include(authorization => authorization.Application).AsTracking()
join application in Applications.AsTracking() on authorization.Application!.Id equals application.Id
where application.Id!.Equals(identifier)
where application.Id!.Equals(key)
select authorization).AsAsyncEnumerable(cancellationToken);
}

Expand Down Expand Up @@ -1146,4 +1146,4 @@ public virtual async ValueTask UpdateAsync(TAuthorization authorization, Cancell

return TypeDescriptor.GetConverter(typeof(TKey)).ConvertToInvariantString(identifier);
}
}
}

0 comments on commit ea7a9e2

Please sign in to comment.