I am trying to get access token generated to use it for enroll api.
Using :
https://MY_DOMAIN.auth0.com/oauth/token
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=—' \
--data-urlencode 'client_se`cret=—–' \
--data-urlencode 'audience=https://highbeam-staging.us.auth0.com/mfa'
But it gives error:
{
"error": "access_denied",
"error_description": "Service not enabled within domain: https://highbeam-staging.us.auth0.com/mfa"
}
How to get token for this api and make it work ?
https://MY_DOMAIN.auth0.com/mfa/associate