https://supertokens.com/ logo
#support-questions
Title
# support-questions
g

gusfune

07/08/2021, 11:13 AM
This is on the back-end, but it seems we have this weird piece here:
Copy code
if (error.type === "TRY_REFRESH_TOKEN") {
      supertokens.errorHandler()(error, req, res, () => ({}))
    }
Does this errorHandler ping the front-end?
2 Views