Authentication Timeout

Episode #448 by Teacher's Avatar David Kimura

Summary

In this episode, we'll explore adding the ability to extend an authenticated session wish is about to expire. We'll be using a Stimulus controller for the bulk of the logic and the provided functionality that Devise gives us out of the box.
rails security devise 15:12

Chapters

  • Introduction (0:00)
  • Current setup (1:48)
  • Creating the Rails controller (3:41)
  • Setting up the View (5:11)
  • Generating the Stimulus controller (6:36)
  • Demo (13:17)
  • Final Thoughts (14:27)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams