Refreshing JWT token after profile update using ROPC

Hi all,

My application consists of an Angular UI and a lambda-based node API. I’m using ROPC to handle my login information in the API and set secure HTTP only cookies with my access and id tokens. I’m running into an issue when my users update their profile information, there doesn’t seem to be a way for me to get updated JWTs for my users to update their cookie values. Consequently, their preferences don’t take effect until they log out and log in again.

I have a valid JWT, isn’t there a way to regenerate the token with the updated information?