Regenerate token

On a user’s app metadata, we have a field named active and we set it to false if the user’s payment failed and then check this in rules to restrict access. If the user decided to try paying again and is successful we would then set the field to true. Issue now is the app_metadata was updated but the token initially generated on login is still outdated. Is there a way I could somehow regenerate or do a relogin without the user actually logging in again?

Could anyone share some ideas?

Hey there!

Sorry for such a delayed response! We’re doing our best in providing you with the best developer support experience out there but sometimes our bandwidth is just not enough for all the questions coming in. Sorry for the inconvenience!

Can you let us know if you still require further assistance from us?