https://source.dot.net/#Microsoft.AspNe ... er.cs,1288
где ждут Events.AuthorizationCodeReceived(context); должен обмениваться кодом аутентификации с кодом доступа в обратном канале, но в соответствии с исходным кодом OpenIdConnectEvents:
https:// source.dot.net/#Microsoft.AspNetCore.Authentication.OpenIdConnect/Events/OpenIdConnectEvents.cs
Код: Выделить всё
public class OpenIdConnectEvents : RemoteAuthenticationEvents
{
public Func OnAuthorizationCodeReceived { get; set; } =
context => Task.CompletedTask;
// ...
}
Подробнее здесь: https://stackoverflow.com/questions/787 ... -overrided
Мобильная версия