TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Passwordless login with phoenix

3 pointsby jaxondualmost 9 years ago

1 comment

juandazapataalmost 9 years ago
While the example explains the approach, this is susceptible to a brute force attack where you just try different tokens until they work.<p>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.