Hey there! My name is Antonio and welcome to the Auth Masterclass, where we are gonna be learning Auth.js, the new name for NextAuth version 5. In this course you'll learn how to set up Auth using both credential and social providers like Google and GitHub. But we are not skipping the must-haves either. You'll learn how to set up forgot password and email verification.
And yes, we're doing two-factor authentication and showing you how to manage different user roles, like admin and user. In this course, we're not just learning concepts, we're actually building a whole toolkit. We're going to create a set of reusable components, hooks and utilities that you can use everywhere in server components, client components, models, pages, API routes, and server actions. Think of it as building your own toolbox for authentication. We'll start with the user-friendly login and logout buttons and then move on to robust registration forms.
After that, we're going to tackle how to handle errors and user verification. But we're going much further than that. And for the curious minds, we'll take a peek at how to use the Next.js middleware and also how to tweak Next.out sessions, callbacks, and events. It's like giving your out system a personal touch. In this course, you'll see real examples using server and client components.
And how to handle admin-only stuff. We're talking about showing different things to admins and keeping some API routes and server actions just for them. Finally, on the settings page, we'll go through how to change emails, update passwords, and even switch user roles, plus turning two-factor authentication on or off. So without further So let's get started.