title: JwtBearer asp net core get signing key from api
body: <p>Is it possible to configure JwtBearer from asp.net-core that it can take signing key (in my case public key) required to verify is user is authorized? </p>
  
  <p>I have somehing like this:</p>
  
  <pre><code>        services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
              .AddJwtBearer(o =&gt;
              {
                  o.BackchannelHttpHandler = new HttpClientHandler();
                  o.MetadataAddress = "http://auth-server.local.com/api";
                  o.Authority = "http://localhost:5000";
                  o.Audience = "http://localhost:5001";
                  o.RequireHttpsMetadata = false;
                  o.TokenValidationParameters = new TokenValidationParameters
                  {   
                      IssuerSigningKey = "here should be public key exposed by my auth api server"
                      ValidIssuer = "http://localhost:5000",
                      ValidAudience = "http://loclhost:5001"
                  };
              })
              ;
  </code></pre>
  
  <p>but my client does not call my auth api in order to obtain public key.</p>