Hi <@498057949541826571> , in SuperTokens session ...
# support-questions-legacy
y
Hi @rp_st , in SuperTokens session verification and refresh flow, when an access token is expired the verifySession function sends a 401 to frontend and frontend sdk is taking care of refreshing the session and retrying the original request. Is there a solution for the same when we use backend alone?
r
Hey @yvstrishul you could try and use the supertokens-website SDK on the backend and provide it a custom window and storage handler which writes to ur storage on the backend. You could then use it to add axios interceptor to your axios instance and maybe then it will work fine.
y
Ok Thank you. I'll try that