I have a custom auth0 form that is displayed when a user signs up to my react application. I created a custom flow that is intended to save some of the input details from the form as a user metadata eg: state, zipcode etc. The issue i am having is that i have been unable to set the user meta data when the sign up form is submitted. I have followed the tutorials on the website and still no progress at all. On further investigation, when i navigated to the executions tabs, in the flows section of the form i found the following (see images below):
I do not understand why i am getting this error because i set up a vault connection that connects to my M2M application for this flow.
Please i would be very grateful if anyone can assist me in resolving this error
It seems like the error is caused by your M2M app not having the correct permissions to be authorized for the Auth0 Management API.
I recommend ensuring that your M2M app has the update:users update:users_app_metadata and update:current_user_metadata scopes for the Auth0 Management API.
ive been able to add the update:users and update:users_app_metadata scopes, but when i search for update:current_user_metadata, nothing comes up. Please help, thanks