yarfink
07/16/2022, 1:24 PMsupertokens-web
attempt a refresh on all 401s by default, or only when other response headers are also found (e.g. rid
)? I saw my front-end looping requests when my API sent back an explicit 401 (not from supertokens-node
, but from my own controller). It's fixed if I set the sessionExpiredStatusCode
, but I thought there would be some other logic besides attempting a refresh on all 401s. Is this intended? I'm on "supertokens-website": "^10.1.0",
and "supertokens-node": "^9.2.3"
rp_st
07/16/2022, 6:09 PMrp_st
07/16/2022, 6:09 PM