title: Authorization in ASP.NET Core. Always 401 Unauthorized for [Authorize] attribute
body: <p>For the first time I'm creating Authorization in ASP.NET Core.
  I used tutorial from here <a href="https://dev.to/samueleresca/developing-token-authentication-using-aspnet-core" rel="noreferrer">TUTORIAL</a></p>
  
  <p>The problem is when I sending request from postman: </p>
  
  <pre><code>Authorization:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6I...
  </code></pre>
  
  <p>to my method in controller decorated with [Authorize] attribute. </p>
  
  <p>I receive <code>401 Unauthorized</code> always...  I saw comments bellow that tutorial and it seems that some people have similar issue also. I've no idea how I can solve this problem.</p>