I'd like to refresh the token to check it's validity, before changing the user profile or password.
The problem is that the refresh response arrives after the profile update axios call.
What could you advice to wait the new token and insure the user access is still valid ?
Thanks for your help.
I'd like to refresh the token to check it's validity, before changing the user profile or password. The problem is that the refresh response arrives after the profile update axios call. What could you advice to wait the new token and insure the user access is still valid ? Thanks for your help.