Authentication on the Web


When it comes to authentication on the web, many people are quick to turn to third party solutions, even paying money for them, because they vastly overestimate the complexity of implementing it on their own. This post aims to offer an overview of the necessary components of a basic authentication system. In reality, you’ll find that it’s just a few database tables, a few route handlers, and some middleware to enforce protection of route handlers which require authentication. Let’s get started!