Hi lyubomir,
First of all, visit your client page and rotate your secret
Second, your request is mostly valid, just missing audience
:
{
"client_id":"7xVERL0bjh*****XeLW4fzyi",
"client_secret":"XXXX",
"grant_type":"client_credentials",
"audience":"https://[tenant].eu.auth0.com/api/v2/"
}
Make sure client is allowed to include v2 API audience by visiting APIs > Auth0 Management API > Non Interactive Clients
and Authorize your client (7xVERL0bjhY********VXeLW4fzyi
) with selected scopes. Do this only after rotating your secret.
Regards,
Amin