Remix.run Logo
▲ sandeepkd 3 hours ago

In reality this is very much doable, to be explicit its called TOTP (Time based One time password) and generated using a symmetric key which is shared between the user app and server. If you just save the text below the QR code (most apps show it), its as good as a shared password.

At the same time as a security person I would recommend highly against depending on TOTP for security. These security strings are stored in plain by most of the service providers. Just imagine all the chaos going around with password outages on server side. You can take for granted that some one has already copies all these TOTP secrets from the server side if that company had any kind of breach in the past.