Summary
In this chapter, we did not just cover the basics of authentication, we added another server to our system. What is more, is that we compiled this server to the main ingress workspace, so both or our servers, SQL scripts for those servers, and the React frontend is in one binary. What is more, our auth server authenticates our user and issues a token for other requests.
Here we are really seeing how our system can scale. These servers can slot in and out of our system. Our authentication system is clearly defined and there is nothing stopping you from taking your authentication system and slotting it into another system on another project. Authentication can explode in complexity. I often find myself creating roles, and permissions, teams, and email processes to verify that the user's email is legitimate. Starting a server specifically just for authentication can seem a little excessive, however, you will be shocked at how quickly the complexity grows. Most people starting...