Auth0 Home Blog Docs

Regenerate token


#1

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?


#2

Could anyone share some ideas?