We want to connect to our Ansible using messagegtw and we need to use OAUTH.
We have configured the URL, Auth Method, Client ID, Client Secret, Token Endpoint, Grant Type, Scope and HTTP Method.
When the probe is trying to connect to Ansible, it is getting a HTTP code of 415 unsupported content type.
Our Ansible admin says the header content type for the OAUTH token server needs to be Content-type: application/x-www-form-urlencoded, but I'm not. The current header for the payload is showing as Content-type application/json.
Messagegtw 1.48 or later
Use auth_method = OAUTH2
This will correct the header type.