Hi @rp_st
i have been using "supertokens-web-js": "0.6.0",
and there is a small glitch for a much longer time that i want to clarify now.
everytime the validy of the accestoken expires, the server is sending me "Context creation failed: TRY_REFRESH_TOKEN"
and i have been hitting
await Session.attemptRefreshingSession().then(async (success) => {
console.log(success, "Success");
if (success) {
console.log("Tokens Refreshed");
// window.location.reload();
} else {
const data = await Session.signOut();
}
});
but few times, it stucks in a loop of refreshing the page. can i know what to do ?