Trigger Terms and Conditions again for all users when policy is updated

Hello,
I recently implemented a “Terms and Conditions” acceptance mechanism for our users which utilizes Forms and Flows by following the instructions here. Everything in my test environment seems to work as expected. However, I anticipate an issue that will come up where our organization will update their Terms and Conditions policy and will require new users as well as existing users to re-accept the new policy prior to being allowed to access the application.

The only way I know of at this moment is to go to each individual user’s account page and set the value of their “privacy_policies” attribute to “false” within their “app_metadata”.

My question: is there a way to automate this process for all users? I couldn’t find any documentation for this, but I’m almost positive that I’m not the only person who needs this. I’m very new to coding within Auth0 so any direction/code sample/link would be very much appreciated.

Hi @shawn.aghdam!

Welcome back to the Auth0 Community!

You can make bulk updates to user metadata when the new Terms and Conditions will need to be accepted. The links below describe how you can make bulk updates to users:

Please let me know if you have any additional questions!

Best,

Mary Beth