Silent Login without sessions? [SOLVED]

When running Moralis library in a Chrome Plugin I will not have access to sessions/cookies in the traditional sense. I will need to rely on something I can store in Local Storage. What can I store locally that will enable me to restore a Moralis Session, without asking the user to Sign in again? Kind of like a silent login?

How do you restore a session?

I currently do it by asking the user to login. They need to do this every time the page is refreshed. Is there any data i can save to restore the session in the background, without asking user to login again?

it should be a way to do it, if login can do it, assuming that a session is set on login

I marked this as Solved, because it was a mistake in the code on my part. sorry

1 Like