AdonisJS is a fully featured web framework for Node.js. It comes with a fully-fledged authentication system to authenticate the users of your application. While AdonisJS support various types of authentication mechanisms, in this course, we'll be making use of sessions (also known as web guard).
As the title suggests, this course will cover every aspect of authentication in AdonisJS from user registration down to logging out. We'll cover things like email verification, logging in before and after email verification, remembering logged-in users, password reset, and restricting routes to authenticated or guest users. Finally, we'll look at how to implement redirecting users to their intended routes upon login.
What you will learn
Here are some of the things you will learn by the end of this course:
User registration
User authentication
Email verification
Password reset flow
Redirecting users to intended URL
Remembering authenticated users
How the remember me functionality works
Logging out users
Working with events
Display authenticated user data in a view
Check whether a user is logged in or not in a view
Manually verify hashed password
Two ways to handle checking whether users' email address has been verified
Restrict routes access using a middleware
How to create a custom middleware
Join me in this course, as I walk you through how to build End-to-End authentication in AdonisJS.