title: Read and Validate JWT token per request
body: <p>I have a scenario where there are many separate clients connecting via JWT token. </p>
  
  <ol>
  <li>The client (browser) first needs to login (and is given a JWT token)</li>
  <li>The client then needs to retrieve their account information, they do this by sending a request to the server (which includes the JWT token. The server (which has access to the secret) reads the JWT token (securely) and should send back the user information, how do I do this? </li>
  </ol>
  
  <p>p.s. Each client has a different secret</p>
  
  <p>I can do this on a per app basis</p>
  
  <pre><code>app.UseJwtBearerAuthentication(
                  new JwtBearerAuthenticationOptions
                  {
                      AllowedAudiences = new[] { audience },
                      IssuerSecurityTokenProviders = new IIssuerSecurityTokenProvider[]
                      {
                          new SymmetricKeyIssuerSecurityTokenProvider(issuer, secret)
                      },
                      Provider = new CookieOAuthBearerProvider("authCookie")
                  });
  </code></pre>
  
  <p>But this method will not work on a per request basis....</p>