If this post is interesting to you, you may also want to look at this one where we try to use Microsoft.Identity.Web for the same purpose.
Azure Easy Auth and Roles with .NET (and .NET Core)
· 6 min read
If this post is interesting to you, you may also want to look at this one where we try to use Microsoft.Identity.Web for the same purpose.
This is a post about having two kinds of authentication working at the same time in ASP.Net Core. But choosing which authentication method to use dynamically at runtime; based upon the criteria of your choice.
This post demonstrates how you can hard code user authentication claims in ASP.NET Core; a useful technique to facilate testing during development.