Tutorialspoint

#May Motivation Use code MAY10 for extra 10% off

End-to-End Authentication In AdonisJS

person icon Chimezie Enyinnaya

4.6

End-to-End Authentication In AdonisJS

Learn every aspect of authentication in AdonisJS

updated on icon Updated on May, 2024

language icon Language - English

person icon Chimezie Enyinnaya

category icon Node.JS

Lectures -17

Duration -1.5 hours

4.6

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

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.

Goals

What will you learn in this course:

  • User registration

  • User authentication

  • Email verification

  • Password reset flow

  • Redirecting users to intended URL

  • Remembering authenticated users

  • How the remember me functionality work

  • 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 route access using a middleware

  • How to create a custom middleware

Prerequisites

What are the prerequisites for this course?

  • Basic knowledge of Nodejs
  • Basic knowledge of AdonisJS
  • Nodejs installed on your computer
End-to-End Authentication In AdonisJS

Curriculum

Check out the detailed breakdown of what’s inside the course

Getting started
3 Lectures
  • play icon Introduction and demo 03:38 03:38
  • play icon Getting the starter project 02:56 02:56
  • play icon Installing and configuring the auth module 04:18 04:18
Register
1 Lectures
Tutorialspoint
Email verification
3 Lectures
Tutorialspoint
Log in
3 Lectures
Tutorialspoint
Password reset
2 Lectures
Tutorialspoint
Protecting routes
2 Lectures
Tutorialspoint
Intended redirect
2 Lectures
Tutorialspoint
Log out
1 Lectures
Tutorialspoint

Instructor Details

Chimezie Enyinnaya

Chimezie Enyinnaya

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515