Behind the Scenes: Devise
04-Feb-2021 1727
Devise is a well known solution for authentication in Rails applications. It's full featured (it not only adds authentication but also password recovery, email changing, session timeout, locking, ip tracking, etc.) and can be expanded to add even more (like JWT authentication).In this post, I'll go over the code related to the basic database authentication process, how it relates to Warden and some of the magic behind it. If you don't know what Warden is, I will be explaining the role it plays for Devise in this article.
Behind the Scenes: Devise #ruby #rubydeveloper #rubyonrails #Behind #Scenes: #Devise #devise https://rubyonrails.ba/link/behind-the-scenes-devise