re: Generating 2FA One-Time Passwords in JS Using Web Crypto API VIEW POST


This article is freaking awesome! However, I see no QR code in the demo - only an icon/button and if i click it, it wants me to share my screen :-o



Yes, the demo only scans QR codes, not generates them. I have linked the FreeOTP tool in the article that you can use to generate the QR code. You can then use this demo to let the screen sharing API access the page with QR code and that will in turn scan the QR code and give you a OTP. Hope this helps!

code of conduct - report abuse