Hi
I want to get the token for an API I am protecting via Auth0. Auth0 provides the code:
curl --request POST \
--url https://xxx.eu.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":"xxx","client_secret":"xxx","audience":"xxx","grant_type":"client_credentials"}'
I have x’d out some values for privacy, but I get this error;
{“error”:“access_denied”,“error_description”:“Unauthorized”}curl: (6) Could not resolve host: application
Presumably the unresolved address is the audience, as this was a url that does not resolve from where I run the command from. What should the IP of that host name be? The server hosting the API I built?
Thanks