solid-client-authn-js icon indicating copy to clipboard operation
solid-client-authn-js copied to clipboard

Set version number on localstorage

Open RubenVerborgh opened this issue 5 years ago • 2 comments

Does solid-auth-fetcher also storage data in LocalStorage?

If so, what does that data look like?

I'm asking because we had some design flaws in the storage format of solid-auth-client that made upgrading difficult, so I'd want to verify that we've made better choices here.

RubenVerborgh avatar May 15 '20 20:05 RubenVerborgh

Yep it stores things in local storage. Here's what it looks like:

image

For the most part it just ignores what was stored for solid-auth-client. So user's will need to log in again after an upgrade.

jaxoncreed avatar May 20 '20 17:05 jaxoncreed

I think we want to version this information somehow (which we didn't in solid-auth-client). I'd suggest the version number of the solid-auth-fetcher that wrote it; (only) major version numbers can break it.

RubenVerborgh avatar May 20 '20 19:05 RubenVerborgh