how to use OAUTH for messagegtw probe in UIM
search cancel

how to use OAUTH for messagegtw probe in UIM

book

Article ID: 408541

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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.

Environment

Messagegtw 1.48 or later

Resolution

Use  auth_method = OAUTH2
This will correct the header type.