diff --git a/src/OpenIddict.Core/OpenIddictProvider.cs b/src/OpenIddict.Core/OpenIddictProvider.cs index 9a5c954e..5bb04d84 100644 --- a/src/OpenIddict.Core/OpenIddictProvider.cs +++ b/src/OpenIddict.Core/OpenIddictProvider.cs @@ -151,7 +151,7 @@ namespace OpenIddict { var manager = context.HttpContext.RequestServices.GetRequiredService>(); // Retrieve the application details corresponding to the requested client_id. - var application = await manager.FindApplicationByIdAsync(context.ClientContext.ClientId); + var application = await manager.FindApplicationByIdAsync(context.ClientId); Debug.Assert(application != null); // To prevent downgrade attacks, ensure that authorization requests using the hybrid/implicit