Remember Me in AdonisJS Authentication

In this lesson, we'll take a look at how to remember the user's authentication session in AdonisJS Auth. We'll learn how to define the remember me checkbox within our form and more.

Published
Jan 12, 23
Duration
4m 13s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

In this lesson, we'll take a look at how to remember the user's authentication session in AdonisJS Auth. We'll learn how to define the remember me checkbox within our form, grab it directly off the form body or validate it, and lastly provide it into the authentication methods.


🧳 References:

AdonisJS Remember Me Documentation
Bang Bang Operator


🕑 Chapters

00:00 - Intro
00:30 - Database & Model Setup
01:15 - Remember Me Form Checkbox
01:30 - Remember Me Off Request Body
02:36 - Remember Me With Validator
03:40 - Outro

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!

Playing Next Lesson In
seconds