Browse Source

React to API changes in aspnet-contrib/AspNet.Security.OpenIdConnect.Server

e882fabcd7
pull/31/head
Kévin Chalet 10 years ago
parent
commit
0b9e019f31
  1. 2
      src/OpenIddict.Core/OpenIddictProvider.cs

2
src/OpenIddict.Core/OpenIddictProvider.cs

@ -151,7 +151,7 @@ namespace OpenIddict {
var manager = context.HttpContext.RequestServices.GetRequiredService<OpenIddictManager<TUser, TApplication>>();
// 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

Loading…
Cancel
Save