Provider resets when returning to page

Im building a dapp that doesnt ask the user to log in again if they didnt log out. How can I reapply the provider in this case? Loggin in fresh gets me a provider, but when i return to the site there is no longer a provider

usually it should be enough to use Moralis.enableWeb3()

when using mm and wallet connect?

That should work for MetaMask without problems