Hi,
I want to implement auth0 in my nextjs application with the official library GitHub - auth0/nextjs-auth0: Next.js SDK for signing in with Auth0.
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