Calling management api with accessToken obtained via custom domain causes 401 error

Hello @koheikameyama,

If you are calling the management API, you need to use your regular Auth0 domain instead of the custom domain. Would you be able to replace the fetch URL in your ‘get accessToken’ snippet to ${tenantName} and test it out?

Thanks!

1 Like