2 ms·
If you're coming from a Rails background, you'll find Coherence[1] similar to Devise. However, I was recently in need of implementing authentication for more t
by neya 9y ago
If you're coming from a Rails background, you'll find Coherence[1] similar to Devise.
However, I was recently in need of implementing authentication for more than two models (Buyer, Seller) and that's where I hit a roadblock with these Devise-like libraries. Just by chance I found a really good, well designed library which I use in production as of now. The author is also the author of many other famous libraries in Phoenix-verse (Comeonin, for example). The library is called Phauxth. Check it out:
https://github.com/riverrun/phauxth https://github.com/riverrun/phauxth
[1] https://github.com/smpallen99/coherence https://github.com/smpallen99/coherence