Password Strength

Episode #493 by Teacher's Avatar David Kimura

Summary

In this episode, we will use the Rails 8 authentication generator and add a stimulus controller to show the strength of a password when signing up for an account. This functionality will work with Devise, ActionAuth and other authentication solutions as well.
rails authentication stimulusjs security 17:47

Chapters

  • Introduction (0:00)
  • Setting up Rails 8 Authentication (3:15)
  • Creating Registration Logic (3:52)
  • Rails 8 Authentication Helpers (5:25)
  • Registration View (5:47)
  • Adding Navigation Links (6:29)
  • Demo of the Registration (7:09)
  • Creating the Stimulus Controller (7:19)
  • Setting up the View (8:38)
  • Creating the Password Strength Logic (9:53)
  • Demo (13:50)
  • Adding the Color Indicator (14:23)
  • Demo (15:17)
  • Final Thoughts (15:37)
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
$ 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