Re:Ask HN: Looking back, what have you wasted lots of time on?
by sellingwebsite on Friday August 30, 2019 @04:47PM
(#20842556)
It works great if you won't deviate from the common use case. Otherwise, you have to do all sorts of crazy monkey patching. On top of that, it is a relatively old project that has to keep legacy code for backwards compatibility.
I decided to roll my own auth, but was very cognizant about the risks of going down this route. I used primitives provided by Rails (has_secure_password, has_secure_token) and made sure that my implementation is not susceptible to known exploits, such as session fixation attack: https://guides.rubyonrails.org/security.html#session-fixatio...
Re:Ask HN: Looking back, what have you wasted lots of time on?
by whycombagator on Saturday August 31, 2019 @10:07AM
(#20846339)
> It works great if you won't deviate from the common use case
What have you needed to do that isn’t well supported by devise?
What don't you like about it?