I'm facing a situation where I have set up a server-side route /auth/refresh to handle token refreshing. The process involves sending a Post request from the NextJS client side with the current token, which is then searched for on the server. If the token is not found, the server responds with a 400 error message stating: Error: Refresh token not found
. In such cases, my goal is to have NextJS automatically delete the tokens stored client side, which would require the user to reauthenticate. However, I've noticed that the documentation doesn't provide guidance on handling this specific use case. Any suggestions or ideas on how to approach this issue?