question

Jason Becker avatar image
Jason Becker asked

Sign in by scanning QR

My game is set up where users interact with a touch screen. Users do not have access to a keyboard (virtual or physical). I would like my users to scan a QR code with their cell phone and sign in via the redirected link. Any Ideas on how I could achieve this?

Authentication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

I'd think the difficulty here is how to send the login result from player's cell phone to your game that is in a different device with only touch screen.

One possible way would be that your game instance holds a two-way connection with your server. The QR code can contain a unique Id for your game instance, so that when the login is finished, your server can send back the login result to your game instance.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.