7 ms·
This is a smart implementation. I was worried it would be doing something uncouth like asking for your HN password or scraping some kind of unofficial API, but
by simonw 5y ago
This is a smart implementation. I was worried it would be doing something uncouth like asking for your HN password or scraping some kind of unofficial API, but instead it gives you a token to embed in your public profile - so it's still scraping your profile page, but that feels like a very low-impact way of building this.
Suggestion: on the "Put the token below in your HackerNews Profile" page, rather than polling to see if the token has been added (which is a bit rude) add a button for "I have added this token to my profile" and only check once the user clicks that button.
- tlarkworthy 5y agothe exact user flow for a third party Auth system in Observablehq https://observablehq.com/@endpointservices/login-with-comment https://observablehq.com/@endpointservices/login-with-commen... all code is ISC licensed and both the server and client is embedded in a web notebook
- johnkpaul 5y agoI totally agree with you and I was also worried about uncouth behavior. That said, and not to undercut the smartness here, I have memories of this being the main mechanism to authenticate third party services to the SomethingAwful forums. I have vague memories of thinking through how scraping could be used for much easier global authentication and then quickly how that was probably a dumb idea.
- nvr219 5y agoYep, I still do this with gbs.fm!
- dmix 5y agoWhat is gbs.fm if you dont mind me asking?
- Lorin 5y agoHave you considered playing more Journey? :^)
- tomphoolery 5y agothis site is the last place i thought i'd find a gbs.fm reference
- Lorin 5y agoHad to migrate somewhere!
- johnkpaul 5y agoAh the memories and nostalgia of seeing this comment are immense! I miss the good ol' days of the pre tech giant internet. I used to go to the in person NYC charity events and it was an awesome community. :wave: other goon, hope you and all are well.
- tata71 5y agoInstead, the token (a text string) will be an "object" (a non fungible token) that you prove is in your wallet with zk proofs, wallet being on whatever chain(s) decided upon as ubiquitous in the coming year.
- floatingatoll 5y agoI assume this is /s and I laughed when I read it. Well played.
- meowkit 5y agoIt’s not sarcasm, and it is what some communities want to achieve with decentralized identification. https://www.microsoft.com/en-us/security/business/identity-access-management/decentralized-identity-blockchain https://www.microsoft.com/en-us/security/business/identity-a...
- eloisius 5y agoReminds me of how I got users to verify their ownership of Minecraft accounts[0]. There is no profile to add a token, but they can switch their skin, and you can download a user’s skin without being in-world. [0] http://zacstewart.com/2012/12/24/verifying-minecraft-user-accounts.html http://zacstewart.com/2012/12/24/verifying-minecraft-user-ac...
- timvdalen 5y agoCool write-up! Wouldn't you need to generate a new random verification skin for everyone that tries to verify?
- eloisius 5y agoThis is long dead, but yes that would be the next step. At least right now, you could only falsely claim someone’s account if they installed my verification skin, but you could wait for someone to do that and then quickly claim their account before they did.
- freedomben 5y agoAgreed, and it doesn't really matter but for some reason I felt compelled to mention, this same mechanism (putting token in profile page) has been in widespread usage for years so isn't novel. Keybase is one example.
- tiffanyh 5y agoEven before that, this is a common practice with DNS for decades to prove ownership of a domain.
- curiousgal 5y agoSPF DKIM Let's Encrypt Certificates
- dheera 5y ago> doing something uncouth like asking for your HN password Yeah I was worried about this too, it's a disturbing trend. Venmo was asking for my bank password a couple months ago, I was like fuck no. Who the HELL does that. Should be illegal to even ask.
- KoftaBob 5y agoIn the case of venmo (and many other of their customers), it was actually Plaid that was asking for your bank login credentials to connect your bank account to Venmo. They've been getting criticism regularly for that, unsurprisingly.
- floatingatoll 5y ago(And Plaid noted that they vastly prefer to oauth to banks, and do with many other banks, but that Venmo won’t accept oauth and demands credentials.)
- Operyl 5y agoNo that’s not correct. Venmo is not forcing password auth, it’s banks not implementing the OAuth flow that causes this. I just went through with OAuth in Venmo with my bank (Capital One). They also offer traditional (deposit 50 cents and validate the amount) work flow too, they’re not forcing the Plaid model at all.
- floatingatoll 5y agoErm, I don’t think we’re describing the same sides of the flow, but I trust you’re right anyways. Apologies for my confusion.
- dheera 5y agoYeah so now I need to give my password to not just Venmo but also some startup called Plaid that I need to trust? Doubly fuck no.
- rsync 5y ago"... I was worried it would be doing something uncouth like asking for your HN password or scraping some kind of unofficial API, but instead it gives you a token to embed in your public profile ..." I have a side project I've been kicking around for a while that required some kind of reputation/login/accountability function and this was exactly what I considered doing: giving people a token to put into a public HN profile. So anyway, great job Victor!
- hardwaresofton 5y agoHey if you don't mind I'd love to have you kick the tires -- there aren't any client apps (other than the website itself) right now, but I'll be opening that up soon, got some bits to batten down like audience and registration forms.
- rsync 5y agoSo, so pessimistic that I can carve enough time away from rsync.net to start this new initiative ... but we'll see ...
- hardwaresofton 5y agorsync.net is a massively awesome product, I think I can safely say the rest of the internet is hoping you don't get any time away :).
- irthomasthomas 5y agoThe tyranny of success.
- sattoshi 5y agoFor all the obscure examples of prior art being given in this thread, this is also how Keybase did proofs with HN.
- clay-dreidels 5y agoThis is very clever. On a side note, I wish HN offered two-factor authentication.
- iyn 5y ago+1, would be nice to have 2FA
- kogir 5y agoJust pick a good password and don’t reuse it elsewhere. HN is super aggressive about rate limiting attempts, so brute force isn’t really a risk.
- maxwell_xander 5y ago2FA also protects me in case someone runs https://github.com/unode/firefox_decrypt https://github.com/unode/firefox_decrypt on my computer, maybe as part of an NPM install script
- MajesticHobo2 5y agoDo you not stay logged in to HN?
- maxwell_xander 5y agoNever! I log out EVERY... nah, you got me haha. I honestly wouldn't even care if someone stole this account. Just having fun nitpicking :)
- MajesticHobo2 5y agoPhishing is still an issue that could be prevented with security keys. That said, I don't see most HN accounts being very interesting to phishers.
- waffle_maniac 5y agoWhat about a cryptographic signature? That might be nice.