Skip to content

fix: authentication error

Handles cases where user session/token has become corrupted or invalid. Treat "onError" event as resolving the current user query and set "currentUser" to "null" rather than "undefined". This signals to the "RequireAuth" layer that it should revoke the current token/login.

Related to https://gitlab.coko.foundation/ketida/ketida/-/issues/814

Merge request reports

Loading