jake6
March 20, 2024, 4:12pm
1
I can not update a users email using the management api. I get this error when trying to do it. I change the email before calling auth0 is there anyway I can bypass this?
tyf
March 20, 2024, 11:12pm
2
Hey there @jake6
Does the following help to clarify?
Problem statement
ManagementClient.users.update does not appear to work correctly inside the verify_email custom database script. The following error is encountered:
Getting issue Error! change_email script does not exist
Solution
Function of the script
The ‘change_email’ script is required where it is desirable to update both the user’s email address (or email address verification status) in Auth0 and the external database, using a single update operation.
Consequently, the ‘change_email’ …
jake6
March 21, 2024, 5:28pm
3
A little but the only way to do this is through the management api? There has to be an easier way, right?