Lurker News

Comments (149) 35 threads

Earlier comments
clay-dreidels1 reply#
This is a smart, safe implementation. On a side note: I wish HN offered 2FA.
hardwaresofton#
SAME. If they were into offering 2FA I could happily retire this little hack :)

I was a bit worried that what I was doing was against the spirit of HN (HN is very much not a social site in that way, and I think they strive not to be), but if they ever choose to add native 2FA I'll be over the moon.

paxys1 reply#
This is neat. How do you protect against a third party scanning HN profiles for codes and stealing them?
hardwaresofton#
Ah, so because the login challenge is unique, the person would have to have access to the browser that received the original login challenge -- there's a second second secret when you initiate login (that's part of the bit managed by ORY Hydra)
zeepzeep1 reply#
Hey this is neat. Great work, I really like such weird ideas and it looks so professional!
hardwaresofton#
Thanks for the note :) yeah it was a really quick hack -- it only looks professional thanks to mvp.css[0]!

[0]: https://andybrewer.github.io/mvp/

Load more comments