-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Labels
on holdAwaiting progress on other items before a decision is madeAwaiting progress on other items before a decision is madesize: mediumMedium-size issueMedium-size issuetype: bugSomething isn't workingSomething isn't working
Description
When a user's session has expired, the JWT token changes or a developer switches between a local backend and a cloud backend, reloading the dashboard triggers several API calls that return 401 (unauthorized) errors.
This triggers confusing errors in development:

In production, the dashboard appears stuck, with no indication of what's happened:

It should be up to /auth/check_session to check whether the session is still valid, and a 401 response to this should trigger a logout redirect, but this doesn't seem to be working properly.
Other API calls should ideally be paused until check_session has completed.
Metadata
Metadata
Assignees
Labels
on holdAwaiting progress on other items before a decision is madeAwaiting progress on other items before a decision is madesize: mediumMedium-size issueMedium-size issuetype: bugSomething isn't workingSomething isn't working