After some thinking, I am unsure if I understand what steps are required to perform a secure logout in case the explicit refresh tokens are used. The scenarios that I can come up with are:
- require both tokens on logout() and block them both
- store the refresh token in the db upon creation, check it very time a token is refreshed, and delete it when a user logs out using the access token
Is there a preferred way?
I think this is very important and should be part of the documentation.