Hi,
I am trying to connect a 3rd party system which uses OAuth 2.0 Password Grant Type authentication, as it is not supported by Appian connected System. I have created a separate integration object to get the access code where I am passing below fields in request body.
"client_id": {client id} , "client_secret": {client secret}, "username": {username}, "password": {password}, "grant_type": "password"
Getting this error "error":"invalid_request","error_description":"The grant type was not specified in the request".
I tried creating token using POSTMAN and there it was working fine. Attaching screenshot for both.
POSTMAN Response:
Appian Integration Response:
Discussion posts and replies are publicly visible
Not sure what the problem is, but that additional content type header does not look right.
Hi Stefan, The error message changed to {"error":"unsupported_grant_type","error_description":"Grant type \"ntent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nContent-Transfer-Encoding: 8bit\r\n\r\npassword\" not supported"}" after removing additional header.