Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Handle expired and otherwise invalid auth tokens #405

Open
EdNutting opened this issue Mar 1, 2022 · 0 comments
Open

Handle expired and otherwise invalid auth tokens #405

EdNutting opened this issue Mar 1, 2022 · 0 comments
Labels
M-needs-triage Meta: needs triage

Comments

@EdNutting
Copy link
Member

The ignored error at services/auth/src/hasura.ts:64 shouldn't be ignored.

E.g. Expired auth tokens are resulting in requests being auth'd with the role "unauthenticated" instead of passing an error back to the frontend to tell the user to refresh. That's what seems to be causing all the random failed queries.

@EdNutting EdNutting added the M-needs-triage Meta: needs triage label Mar 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M-needs-triage Meta: needs triage
Development

No branches or pull requests

1 participant