30-days Money-Back Guarantee
Learn every aspect of authentication in AdonisJS
Updated on Sep, 2026
Programming, Web Development,
Duration - 1.5 hours
Training 5 or more people ?
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
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 supports 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. Join me in this course, as I walk you through how to build End-to-End authentication in AdonisJS.
Redirecting users to intended URL
Remembering authenticated users
How the remember me functionality work
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 route access using a middleware
How to create a custom middleware
Check out the detailed breakdown of what’s inside the course
Use your certificate to make a career change or to advance in your current career.
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Master prominent technologies at full length and become a valued certified professional.