"Having no problems is the biggest problem of all."
I’m building the foundation for an ASP.Net Core 2 site with Cosmos DB as the back-end store and want to build in the idea of user-manageable API keys. In the past two posts, I’ve added interactive registration and login to the application using built-in Cookie and Twitter middleware on top of custom authorization logic and Cosmos DB. In this one, we’ll be adding endpoints that require API Keys that can be created and revoked by the user.
While I started out with credentials stored directly in the
LoginUser Document, in the prior post I decided to start treating authentication mechanisms ...