Ask HN: How should I approach to write a clone of login with QR?
I want to write a login with QR type of system (bcuz I'm curious about how it works). I have some idea on how to approach this problem, but I have more confusions than solutions. What I want is for the website to display a qr, the end user should use a scanner app and scan the qr, and the login should happen immediately (almost as if it's realtime). I'm not sure the already implemented systems are "real" realtime or not like the web.whatsapp.com or xiaomi's mi store. I'm thinking of writing this in Golang. Any guidance will be very helpful.
6 comments
[ 3.1 ms ] story [ 23.2 ms ] thread1. Build a prototype and post it as a "Show HN". This has the advantage of moving toward the desire to write one.
2. Post an interesting article [or articles] about the topic.
A variant of 2 is to post a self-authored article[s]. Writing articles probably has the advantage of furthering understanding of the problem more so than just reading about it.
Writing about or prototyping are more likely to produce previously unconsidered technical information than a question because of the internet's natural tendency to produce 'You Are Wrong' comments.
Good luck.
This one includes a prototype: http://blog.self.li/post/14864315302/qr-login-howto
This one has a high-level overview from a tech perspective: https://www.grc.com/sqrl/sqrl.htm