Right now, when the network request to /users/me fails, the frontend just assumes an auth error and attempts to re-authorize. This leads to endless redirects between the 5apps server and the frontend app.
Instead it should only attempt the reauthorization when the request failed with an actual auth error, and show an error message otherwise.
Right now, when the network request to /users/me fails, the frontend just assumes an auth error and attempts to re-authorize. This leads to endless redirects between the 5apps server and the frontend app.
Instead it should only attempt the reauthorization when the request failed with an actual auth error, and show an error message otherwise.