Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This article is the second part to how not to store passwords, which I advise you to read before reading this one. There we talk about the basics of password storage. The source code of the first approach is here The source code of the second approach is here
This article is the second part to how not to store passwords, which I advise you to read before reading this one. There we talk about the basics of password storage. The source code of the first approach is here The source code of the second approach is here
It may have been cool and important for our understanding to that by hand, but in the real world no one does it like that. When we need to set up authentication we just use the devise gem. You will soon see how much quicker it is.