from Hacker News

Ask HN: How should I approach to write a clone of login with QR?

by xk0nsid on 8/25/16, 11:20 AM with 6 comments

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.