title: Configure JwtBearerOptions from a configuration file
body: <p>I am trying to find a documentation how to configure a jwt bearer and its <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.jwtbearer.jwtbeareroptions?view=aspnetcore-2.2" rel="nofollow noreferrer">JwtBearerOptions</a> in asp.net core from a configuration file using a microsoft predefined confuration section/keys. There is no explanation in Mucrosoft docs about this is possible or not. I feel that it should be possible because everything in the .net core generation is using the options pattern.</p>
  
  <p><a href="https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.0#endpoint-configuration" rel="nofollow noreferrer">Here is an example</a> how the same technique is used to configure a Kestrel host.</p>
  
  <p><a href="https://i.stack.imgur.com/jIYX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jIYX1.png" alt="enter image description here"></a></p>