Let's Learn AdonisJS 6: Ep 7.5 - Remembering A User's Authenticated Session

Published: 08 May 2024
on channel: Adocasts
331
16

Learn how to add the remember me authentication feature!

👍 If You Enjoy This Video, Consider Hitting The Like Button!

👨‍💻 Series Source Code: https://github.com/adocasts/lets-lear...

🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...

Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing

In this lesson, we'll learn how we can use AdonisJS' Remember Me Tokens feature to allow a user to specify they'd like their authentication state to be remembered for a long time across sessions.

⏰ Timestamps
00:00 - The Default Session Lifespan
00:48 - Remember Me Tokens Migration
02:29 - Adding the DbRememberMeTokensProvider
03:03 - Enabling the Remember Me Feature
03:34 - Adding A Remember Me Checkbox
04:03 - Remembering A User's Auth State
05:28 - Testing Our Remember Me Feature

------------------------- Socials --------------------------

Website: https://adocasts.com
Threads: https://threads.net/@adocasts
Twitter:   / adocasts  
GitHub: https://github.com/adocasts


Watch video Let's Learn AdonisJS 6: Ep 7.5 - Remembering A User's Authenticated Session online without registration, duration hours minute second in high quality. This video was added by user Adocasts 08 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 33 once and liked it 1 people.