How can I refresh user information when it is changed by management api.
Suppose User changed his profile picture it should reflect on user object (I am using auth-0/vue)
You could perform silent auth to get new tokens - In this particular case (profile pic) you’d need an ID token since that will contain user profile data. Depending on the specifics you may want to take a look at getAccessTokenSilently here:
You can set cachemode: 'off' to force the refresh of tokens even if they aren’t expired, this is outlined here:
Alternatively, if the change is as simple as a profile pic you could get away with just hitting /userinfoendpoint.
Hope this at least helps you with some idea as to what’s possible!