Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Passwordless login with phoenix (inaka.net)
3 points by jaxondu on July 28, 2016 | hide | past | favorite | 1 comment


While the example explains the approach, this is susceptible to a brute force attack where you just try different tokens until they work.

To further improve the security, the author shold include the `userId` in the magic URL and make sure it matches with the `token`. Some sort of rate limiting could work as well.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: