Auto login for Authentication

Hello,

I am using the Flow FCL with blocto wallet to log into the blockchain but I have noticed something weird in the authentication process.

At the moment, let’s say user A logs into his account on the device, does something then signs out. User B then presses the login button on the same device, he will get the iframe asking to confirm if his account is user’s A or if he wants to use another email address. I have noticed that this behaviour is because of the iframe’s localStorage.

Is there a way to delete the localStorage? So whenever a user presses the login button, the iframe asks them to input their email to login?

1 Like