title: IDX10500: Signature validation failed. No security keys were provided to validate the signature
body: <p>I have the following code and when I call the api endpoint I get error <code>Bearer was not authenticated. Failure message: IDX10500: Signature validation failed. No security keys were provided to validate the signature.</code></p>
  
  <pre><code>services.AddAuthentication(options =&gt;
  {
      options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
      options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
      options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
  })
  .AddJwtBearer(cfg =&gt;
  {
      cfg.RequireHttpsMetadata = false;
      cfg.TokenValidationParameters = new TokenValidationParameters
      {
          ValidateAudience = false,
          ValidateIssuer = false,
          ValidateIssuerSigningKey = false
      };
  });
  </code></pre>
  
  <p>Why is this happening if I am setting the <code>ValidateIssuerSigningKey=false</code> ?</p>