У меня возникла проблема в веб-приложении Blazor на .NET 9.0:
Microsoft.AspNetCore.Authentication.AuthenticationFailureException: произошла ошибка при обработке удаленного входа в систему.
System.MissingMethodException: метод не найден: «Void» Microsoft.IdentityModel.Tokens.TokenValidationResult..ctor(Microsoft.IdentityModel.Tokens.SecurityToken, Microsoft.IdentityModel.Tokens.TokenHandler, Microsoft.IdentityModel.Tokens.TokenValidationParameters, System.String)'.
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.ValidateTokenUsingHandlerAsync(String idToken, свойства AuthenticationProperties, TokenValidationParameters validationParameters)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.aandleRemoteAuthenticateAsync()
--- Конец внутренней трассировки стека исключений ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)x
в Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
Ссылки:
Include="HtmlAgilityPack" Version="1.12.1"
Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.10"
Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.10"
Include="Microsoft.Extensions.Localization" Version="9.0.10"
Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.13.1"
Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.13.1"
Подробнее здесь: https://stackoverflow.com/questions/798 ... nresult-ct