advice needed implement signing a user through scanning a qr (like whatsapp web)
- 0
- Databases
- Flutter
- General
- Realtime
Hi, I've been trying to implement a system to login a mobile device by scanning a Qr code on my desktop flutter app. I've been able to do so by passing my actual credentials in an encrypted string through qr.
When the qr is generated it listens to a an entry in my database in realtime; which is updated with the session id once my mobile logs in after scanning. This allows me to log out the mobile session from my desktop dashboard
I know this is certainly not secure. What would be the best way to achieve this functionality?
typically, instead of passing an actual password, some sort of temporary code is passed.
Anyways, the easiest way to do this? maybe you can integrat with some supported OAuth provider that does this. Like maybe auth0? https://auth0.com/docs/quickstart/native/device/01-login
Recommended threads
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...