Hi. First of all, thanks for the awesome library. I am using supertoken-web-js library in solidJS t...
v
Hi. First of all, thanks for the awesome library. I am using supertoken-web-js library in solidJS to implement a email(OTP) based login. Everything works good. But is there a way to limit number of reties during token refreshing? My app is basically going into infinity refresh cycle.
r
hey @v1kasja1swal
there are a couple of reasons this could happen. Are you returning a 401 from your APIs manaully somewhere?
v
Yup I did. I changed that and it worked fine
r
right! cool
v
But I thinks there should be a way to say the max number of retries
r
yeaaa, fair. This is something we plan on adding anyway, just the timeline is not fixed yet
v
Nice. Thanks again.