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

Handle expired and otherwise invalid auth tokens #405

@EdNutting

Description

@EdNutting

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions