Ready to post? First, try searching for your answer.
Hi there!
I’m trying to automate the creation of more than one User using Postman Runs.
I start by sending a POST
request as client_credentials
hitting a M2M application with the Auth0 Management API
enabled. I receive the token to perform operations.
I’m able to perform GET
requests, so the token is valid and I have validated it in jwt.io. Permissions are there to create users too.
When I try to create users to upload them to our Username-Password- Authentication
database using the provided token, I get this error:
{"statusCode":400,"error":"Bad Request","message":"Connection must be enabled for this client to perform single user creation and signup operations (client_id: xxxx - connection: Username-Password-Authentication)","errorCode":"auth0_idp_error"}
This solution doesn’t help me as the application’s ID (client_id: xxxx) is a M2M application where the Auth0 Management API
is enabled and there are no Connections
.
Also, checked this post, but not sure how it can help me.
The M2M Application in question (client_id: xxxx
) is authorized in Applications
→ APIs
→ Auth0 Management API
→ Machine To Machine Applications
tab.
And the Auth0 Management API
is authorized in the M2M Application (client_id: xxxx
) - Applications
→ Applications
→ The M2M App in question → APIs
Any help, greatly appreciated!
@rueben.tiow you seem to know a bit about this topic!