Hi
I am using the following as a curl command to obtain an access_token:
curl --request POST
–url ‘https://gotham-city-preprod.eu.auth0.com/oauth/token’
–header ‘content-type: application/x-www-form-urlencoded’
–data ‘grant_type=password’
–data ‘username=Bruce.Wayne@gotham-city.com’
–data ‘password=Batman123’
–data ‘audience=https://gotham-city-preprod.eu.auth0.com/api/v2/’
–data ‘scope=read:current_user’
–data ‘client_id=CLIENT_ID’
–data ‘client_secret=CLIENT_SECRET’
In a gitbash shell it works a treat. However. if I place the exact same curl command in a gitlab pipeline I get the following error.
{“error”:“too_many_attempts”,“error_description”:“Your account has been blocked after multiple consecutive login attempts. We’ve sent you an email with instructions on how to unblock it.”}
The frustrating thing is the dev pipeline job works, but the preprod pipeline job fails
The account is not blocked, because the curl command continues to work in Gitbash.
What am I missing? Is there a tenant/application/connection setting I need to configure?
Thanks in advance
Richard