Ask A Question

Notifications

You’re not receiving notifications from this thread.

Authenticate By & Password Challenge Methods In Rails 7.1 Discussion

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.

Reply

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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,584+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.