clowdr icon indicating copy to clipboard operation
clowdr copied to clipboard

Handle expired and otherwise invalid auth tokens

Open EdNutting opened this issue 2 years ago • 0 comments

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 avatar Mar 01 '22 00:03 EdNutting