wdjungst / create-repack-app

A cli to build a rails application with create-react-app
90 stars 11 forks source link

[FULL] Initial 401 #10

Closed wdjungst closed 6 years ago

wdjungst commented 6 years ago

We try to validate the token on every request including the initial request before a user is logged in.

The browser default is to send back a 401 which it should. This causes the lighthouse score to drop slightly due to console errors.

We need a more graceful way to handle validating the token when you land on a page for the first time or token has expired