Skip to content

fix: authentication error

Duncan Bennett requested to merge 814-authentication-error into master

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