Authenticate By & Password Challenge Methods In Rails 7.1 Discussion
Discussion for
Authenticate By & Password Challenge Methods In Rails 7.1
Great episode Collin! The authenticate_by
method really is a bug piece of making secure authentication from scratch in Rails. These are nuances that are important (and already done in Devise), so it's nice to see they're easier than ever in Rails.
In Rails 7.1, the has_secure_password method is used for password authentication. This method provides built-in support for password hashing, salting, and authentication.