I'm quite new to the world of access and refresh tokens, so bear with me.
- Client uses its refresh token to get a new access token.
- The server invalidates the just used refresh token and contextually issues the new access token and a new refresh token.
- The connection drops or the client crashes, and the new refresh token is not received.
- The client tries again, but now the refresh token is invalid and the only option it has is to involve the user again.
Is there a standard/most used way to address this situation? Or is it deemed unnecessary?
One solution I can think of, is for the server to expect the client to acknowledge the new refresh token, before the server activates it. Does this make sense? Is it worth it?