Skip to main content

Class Extended

 The professor of my NextJS course just posted this:

Mirko posted an announcement
Authentication with the Next.js App Router

Hi all,

Today I have published two new sections on Authentication with the App Router to the Next.js by Example course:

    Section 19: Authentication: Cookies and JWTs

    Section 20: Authentication: User Database

Authentication is a functionality many of you have asked about, and the new sections will hopefully give you a good starting point.

As I mention in the Overview video, it's actually a pretty complex topic, and it isn't really feasible to cover all possible use cases in a course.

In the 20 lectures and nearly 2 hours of new videos, my aim is to give you a good understanding of the most important concepts, that should help you whatever approach you then choose for your own projects.

Some of you may also remember that my original plan was to cover NextAuth.js, a popular library. However, version 5 (the one with full support for Server Components) is still in beta, and very much a moving target.

More importantly, I realised that simply showing how to configure a library wouldn't help people understand what's going on behind the scenes. That's why I decided to explain how to implement Authentication from scratch instead, using Cookies, JSON Web Tokens, and storing users' data in a database table.

For your own projects you could decide to use an open source library instead, or integrate with a third party Authentication Service, depending on your specific requirements. Either way, the new sections should help you better understand how those third party libraries work as well.

Happy coding!

Mirko

Comments

Popular posts from this blog

Cloud Essentials Class Finished!

Today I completed the "Cloud Practitioner Essentials" class from AWS. My current goal is to earn the AWS Cloud Practitioner Certification and this class has been a good step in getting there. Next I'm going to start another class called "AWS Cloud Quest: Cloud Practitioner". This looks to be a more hands on learning experience like a Lab class. After that I'm going to start looking at exam prep materials and see if I can schedule an exam for the certification. Getting the Cloud Practitioner Certification is just a per-requisite for getting the Amazon Certified Developer Certification that I really want. It's not a hard requirement, more of a recommendation, but I think it will make training for the Dev cert much smoother. I have a few classes that I've found for training for the Certified Developer Exam, but some of the good resources for that may cost some money. I'll cross that bridge when I get there. I think getting these certifications may h...

New Plans for Fall

Since moving to Charlotte I've been trying to find new opportunities in the software development and tech fields in general. I still want to develop computer games, but I'd like to have other, hopefully more stable, sources of income as well. I believe I have the skills to find a job in software dev, but being unable to drive because of my visual impairment is a big hurdle. Also, I have education and skills in programming, but all my work experience is in IT management which isn't super helpful. All of this to say that I'm trying to find creative ways to work my way into the software industry.   Certification is my current plan. I think having some official, reputable programming certifications will help me to be more marketable. I'm starting with AWS certs. I think that cloud technology is very important in today's industry and I'm very comfortable working with virtual environments and abstract concepts. I think Amazon is a big leader in the commercial Linu...

Rant: Open Source Monetization

Monetizing open source projects is important to project sustainability. I feel like ranting about this today so I thought I'd throw these thoughts on the internet. I'd like to preface this whole rant by saying this is just my opinion and in my experience and I am no expert. Open source enthusiast seem hesitant to discuss monetization. They act like it will sully their principles and that every project should be a charity work. Meanwhile, open source skeptics don't believe that open source is possible of making money. How could you possibly sell something that you give away for free? I find that the strongest, most complex open source projects have some commercial element to them and I think that's how it should work. Expecting developers to build and maintain software without any financial support or by begging for scraps on Ko-Fi is short-sighted at best. Conversely, selling open source is very possible. It requires a different mindset than your typical "make pro...