title: Where to store JWT Token in .net core web api?
body: <p>I am using web api for accessing data and I want to authenticate and authorize web api.For that I am using JWT token authentication. But I have no idea where should I store access tokens?</p>
  
  <p>What I want to do?</p>
  
  <p>1)After login store the token</p>
  
  <p>2)if user want to access any method of web api, check the token is valid for this user,if valid then give access.</p>
  
  <p>I know two ways</p>
  
  <p>1)using cookies</p>
  
  <p>2)sql server database</p>
  
  <p>which one is the better way to store tokens from above?</p>