I am having some trouble implementing JWT token authentication in .NET Core 2.0. There are a number of blog posts online that I have read, however they are mostly now outdated as they're for .NET Core 1.x.
I have also found it difficult to find any documentation on how to generate and issue a token. In .NET Framework Web API this was all 'magically' handled with framework code.
I am building an API with custom identity entities and custom store implementation, and an Angular front end.
I am look for a way to generate a token in the API with a '/token' endpoint and then authenticate and authorize requests when the token is passed in via the Authorizaton: Bearer {token} header in http requests?