客户端请求提示 Keyset is missing

解决办法

添加以下代码

services.AddIdentityServer(options =>
            {
                options.Events.RaiseErrorEvents = true;
                options.Events.RaiseInformationEvents = true;
                options.Events.RaiseFailureEvents = true;
                options.Events.RaiseSuccessEvents = true;
            })
              .AddDeveloperSigningCredential()//解决Keyset is missing 错误
              .AddTestUsers(TestUsers.Users)
              .AddInMemoryIdentityResources(IdpConfig.GetApiResources())
              .AddInMemoryApiResources(IdpConfig.GetApis())
              .AddInMemoryClients(IdpConfig.GetClients());

 

相关文章:

  • 2022-12-23
  • 2022-02-12
  • 2022-02-13
  • 2021-12-03
  • 2021-12-28
  • 2021-12-10
  • 2021-11-11
  • 2022-02-20
猜你喜欢
  • 2022-01-19
  • 2022-12-23
  • 2022-01-01
  • 2022-03-04
  • 2022-12-23
相关资源
相似解决方案