I followed the doc, implemented the plugin as recommended with the implementation of the handleAuth method in the nextjs api.
Authentication and logout work very well, I have access to my session, my accessToken, my refreshToken etc…
However I can’t find anything about the refresh token implementation. How can I set up a clean token rotation? I didn’t find anything in the plugin doc to refetch my user and give him a token. Is it necessary to instantiate this rotation manually ?
Thank you in advance for your feedback on this point
Are you currently able to refresh the tokens, and you just aren’t seeing that rotation is taking place? If you haven’t already, you’ll need to configure refresh token rotation.