I need to implement 2FA in my web app. I'm doing this the standard way: the newly created user's seed is retrieved from the server(I use speakeasy) and the QR code is generated. The thing is, it's possible to steal this seed from the browser's memory (maybe not likely, but still...) Is this the standard way to do this? What is the best practice for this?
Thanks!