DEV Community

Cover image for From UI to Authentication - New Years Resolution - Dev Log 37
LawrenceMueller
LawrenceMueller

Posted on

From UI to Authentication - New Years Resolution - Dev Log 37

As the title says I am moving on from the UI this coming week to creating an Authentication flow. I just finished the UI for the main page of the website. While there are still other pages to build out, I think it would be smart to implement the Authentication flow early in the process.

The Next JS documentation provides two authentication patterns as examples. One is for static content like my home page and the other is for server-side generated content. In order to use these, you need to have a way to authenticate users. For that, I am going to go with Auth0. The reason I am going with Auth0 is mainly that it is completely managed for me and there are ample tutorials online for integrating Auth0 with Next JS. If I were being honest, they also are killing it on the marketing. I can not even really think of other options that manage user authentication for developers besides AWS Cognito. Since I now have a full-time job, the time I get to spend coding on this New Year's Resolution is a lot less than the months prior. So instead of looking into a million options and fighting with some random API because it is cheaper, I am just gonna go with the big name. Security is not something I want to slack on anyway.

As per usual I would love to show off what I have been making, but I still love the idea and still have not gotten past the "someone will steal it" phase. I know it is dumb and cheesy but romanticizing the project you are working on is part of being a developer in my opinion.

Top comments (0)