I am using Auth0 with NextJS 13 and the app router.
I need to create a new token_id (JWT token) inside a protected route page every time the user access the page. It needs to be signed with the Auth0 secret.
Do you have any suggestion on how I can achieve it?
P.S.: using the Auth0 helper “getSession()” doesn’t work since it always returns the same JWT.