I deleted the set function I’m just storing the token on login and on refresh using set
. I assumed that the constructor in my tokenprovider class would get the new token when I relaunched the app
Edit: On login I updated both the localstorage and token in tokenprovider and the token in my tokenprovider is still the old one