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...

NextJS Class Update

I'm back to this blog! Come to find out, Ghost.io was just a free trial and I can't post there anymore without paying money. I'm planning on self-hosting eventually, but I haven't got that setup ready yet. I have still been working through NextJS. It's been taking a little longer than anticipated, but I think it's still moving along alright. I think the info will be very useful.  I think creating Web Apps is a good skill for any kind of programmer to have. People interact on the web, that's just how the world works today and being able to code for the web is a valuable skill to have. I also hope that I can find some freelancing opportunities to monetize this skill as well. I'm still working on some ideas for a post-class project: Database for Game Ideas with comments and voting Page that creates a custom filter for speedrun.com Secret game page disguised as a mundane website Web page to monitor stream activity for favorite streams The project ...