I am having a use case to modify user metadata using Nodejs. I couldn't find any proper documentation on how to do it. So, I thought of using the rest api for modifying the user data. I created an API from the console and added audience as "http://localhost:8080", gave authorization to my existing clients and gave "update:user", "read:user" scopes. I am able to create access_token successfully but I am not able to make the API call to read/update the user data. It's showing "Bad audience". Kindly throw some light on this error (couldn't find proper documentation on this issue).
You have to use 'Auth0 Management API' from the APIs list. If you create your own API it won't work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With