No resource with identifier https://highbeam-staging.us.auth0.com/mfa

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

Hi @khushbu

Welcome to the Auth0 Community!

I’ve checked the tenant associated with your account, and it appears that you are missing the API configuration in the Auth0 tenant for which you are attempting to obtain the access token. Here’s a guid on how to setup an API → https://auth0.com/docs/get-started/auth0-overview/set-up-apis

Thanks
Dawid