clowdr
clowdr copied to clipboard
Handle expired and otherwise invalid auth tokens
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.