5

I try to make a request to an API with methods authorized by an access token from identity server, but when I send a request using a Bearer Token in Header, my request fail and the result marks me this error:

Could not load type 'IdentityModel.Client.DiscoveryClient' from assembly 'IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'. at IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationOptions.ConfigureJwtBearer

RBT
  • 24,161
  • 21
  • 159
  • 240

0 Answers0