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
I am very new to offline and React and I am having several difficulties with this tutorial. I am able to login and see the app on localhost:3000 but if I try and refresh the page, then it loses this.idToken, tries to refresh the token and fails with a 400 error from auth0. My expectation is that if I had an error in my details it wouldn't log me in at all, though that may be wrong.
The serviceWorker is also not working - it definitely gets registered and I see "This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA" but if I go offline and try and refresh, I get "no internet". Looking at the serviceWorker registration in Chrome devtools, I see a file that starts with
This service worker file is effectively a 'no-op' that will reset any
...
Which I tried to play around with in terms of setting NODE_ENV=production, etc. but it keeps getting compiled with this.
Has anyone got this tutorial to work in the last few months? Anyone else have any suggestions? Thanks!
The text was updated successfully, but these errors were encountered:
I am very new to offline and React and I am having several difficulties with this tutorial. I am able to login and see the app on localhost:3000 but if I try and refresh the page, then it loses
this.idToken
, tries to refresh the token and fails with a 400 error from auth0. My expectation is that if I had an error in my details it wouldn't log me in at all, though that may be wrong.The
serviceWorker
is also not working - it definitely gets registered and I see "This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA" but if I go offline and try and refresh, I get "no internet". Looking at the serviceWorker registration in Chrome devtools, I see a file that starts withWhich I tried to play around with in terms of setting
NODE_ENV=production
, etc. but it keeps getting compiled with this.Has anyone got this tutorial to work in the last few months? Anyone else have any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: