Does SSO work with cacheLocation: 'localstorage'?

Hi to all,

for some technologic limits i’m forced to persist auth0 data in localstorage instead of cookies.
I’m wondering if i can use SSO if cacheLocation is set to use localStorage.
I’ll explain better:
i’have a SPA app (here i use in memory storage), this app is on the same domain as the other which is a static website (uses localStorage).

So i have something like this:

app.mydomain.com (SPA) -> memory storage
mydomain.com (site) -> localstorage

Do you think is possible to achieve SSO in this configuration?

Thanks to all
Best regards