I'm getting 401 on an M2M token, which has permission to create users

Hello everyone, I’m having difficulty using the M2M token to interact with the Auth0 API. I created a token with user registration administration scopes and I always receive 401. I’m trying to create a user, for example and as you can see in the scope of the token it has this permission.

Can you help me? Is there something missing in my config?


Hi @rodrigo.vidal,

Welcome to the Auth0 Community!

Could you please try and let me know with the token provided by auth0 and the audience (Auth0 Management API)?

Thanks,
Timotei