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?