How to retrieve updated id token claims

Hi,
Im using my php backend to set some values in the id token, and similarly to Refresh id token/user object in React application. I want to refresh them in my nextjs/react frontend.

Im already using getAccessTokenSilently but it does not seem to update my user object with the new metadata, regardless of wether i have cachemode on or off.

The linked solution seems to be no longer compatible.