However LocalAuthStore raises an error when running for the first time as it cannot load the file (that is not there yet).
I recommend to make this less error prone and treat a missing file identical to an empty file.
note that also the LocalAuthStore.clear() function deletes the storage file and leads to an exception next time the store is tried to be loaded.
I try to prepare a local auth store where to save the token.
However LocalAuthStore raises an error when running for the first time as it cannot load the file (that is not there yet). I recommend to make this less error prone and treat a missing file identical to an empty file. note that also the
LocalAuthStore.clear()
function deletes the storage file and leads to an exception next time the store is tried to be loaded.