You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really a bug but thought it could be good to have this conversation here for posterity.
I never noticed this before, but if you try to use localStorage with safari, you get an error "The operation is insecure" and you can't store anything in localStorage.
I think this used to only be in private mode, but I'm seeing it in normal browsing too.
Anybody else running into this as of late? Are you storing your JWT in localstorage or elsewhere (I know this is frowned upon by a lot of people)?
Does accountsjs have other options (sessions/cookies)?
There are some other packages like store.js and localForage that may be a work around
Okay this is really bad, I wasn't aware of this, is there some other recommended storage?
As a workaround you can store in js-cookies to get persistent sessions on safari
Not really a bug but thought it could be good to have this conversation here for posterity.
I never noticed this before, but if you try to use localStorage with safari, you get an error "The operation is insecure" and you can't store anything in localStorage.
I think this used to only be in private mode, but I'm seeing it in normal browsing too.
Anybody else running into this as of late? Are you storing your JWT in localstorage or elsewhere (I know this is frowned upon by a lot of people)?
Does accountsjs have other options (sessions/cookies)?
There are some other packages like store.js and localForage that may be a work around
https://github.com/localForage/localForage
I'm using local-storage-fallback right now, which let's people log in, but it won't persist if you refresh the page.
The text was updated successfully, but these errors were encountered: