šŸŽ‰ To celebrate crossing 1k users, Adonis Mastery Pro is 50% off all through August. Go Pro!
Two-factor authentication in AdonisJS

Two-factor authentication in AdonisJS

22mins
3 lessons
Intermediate
Start course

Two-factor authentication is a way of adding additional layer of security to an application. So in addition to providing the standard email and password combination when logging in, users will be required to provide an additional authentication code before they are actually logged in. In this course, we cover how to implement two-factor authentication in AdonisJS using authenticator apps like Google Authenticator and Authy.

What you'll learn

  • How to enable and disable two-factor authentication for users
  • Logging in with authentication code
  • Logging in with recovery codes
  • Generating recovery codes

Two-factor authentication

1m 53s

In this lesson, we introduce the course and what we'll be covering in the course.

In this lesson, we kick off the course by adding the necessary columns for two-factor authentication to the users table while covering what each of them does along the line.

In this lesson, we'll cover how users can enable two-factor authentication. This include generating a secret code as well as a QR code that users needs to scan with their authenticator apps.

*Course still in development. Do check back often for updates.

Chimezie Enyinnaya

Hi, I'm Chimezie Enyinnaya, your teacher.

Iā€™m a self-taught software developer based in Lagos, Nigeria, with over 8 years of experience. In the last couple of years, I've been doing more teaching because I enjoy sharing my knowledge so that others can benefit from it. Come along as I teach you all I know about AdonisJS, Node.js, and JavaScript at large!