Update user metadata thought Post-Login flow which use Auth0 "Update User" action with Flows and Early Access Forms

Can someone share the script that was used for this? Having the script would help with troubleshooting.