If you have a service, which calls another service, chances are that you need to retrieve and store a token for authentication. In this blog post we will take a look at an approach on how to handle this, with a single class. Let's start with the code (for those of you who just want … Continue reading How to build a Token Provider (with cache)
Tag: authentication
Authentication with JWT in .NET 6
In this post we will look into authentication with JSON Web Tokens (JWTs) in .NET 6. If you don't know what a JWT is, I strongly recommend you read this introduction first. It will make the rest of the post a lot easier to understand. First things first, create a new C# project of the … Continue reading Authentication with JWT in .NET 6