puter icon indicating copy to clipboard operation
puter copied to clipboard

Sign-in through QR code on sign-in page

Open kveroneau opened this issue 1 year ago • 4 comments

Originally brought up on Discord, the idea is to provide a sign-in system similar to the Discord desktop app, where in the app on the desktop it will display a QR Code, and then on the Discord mobile app, you can open a settings menu to scan the sign-in QR Code to authenticate a new session on the PC. Essentially, when presented with the Puter sign-in page, as an alternative to manually entering in your username and password, you can instead display a QR code on the desktop browser, which can then be scanned by the Puter web app to provide authentication. I do believe modern HTML5 and JavaScript APIs can use the camera on a device, and have the web app process it, in this case, to provide authentication.

Currently Puter can do the reverse of this, where say, you are signed into Puter on a Desktop PC or ChromeBook, and can click an option to display a QR Code in the browser, which when scanned by a smartphone or tablet, will authenticate you. This method does not work really well for desktop PCs, or say public kiosks which may not have a webcam or a QR scanning app.

kveroneau avatar Aug 01 '24 01:08 kveroneau

Thanks for posting this awesome idea. I'm very interested in implementing this feature. One thing I need to investigate a little more (or beta test) before pulling the trigger is the security aspect of this flow.

jelveh avatar Aug 01 '24 02:08 jelveh

I'm adding the mobile-support label to this because I think this sign-in flow is currently less common than the one we support, but it will become more common as we improve mobile support.

KernelDeimos avatar Nov 07 '24 01:11 KernelDeimos

I'm interested in this and would appreciate if you could assign this to me @KernelDeimos.

saireddythfc avatar Mar 14 '25 13:03 saireddythfc

Assigned! Let me know if you run into any issues

KernelDeimos avatar Mar 14 '25 14:03 KernelDeimos