Skip to main content
shantanuj524835
February 13, 2025
Question

OAuth2.0 Password Grant Type

  • February 13, 2025
  • 2 replies
  • 0 views

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:

 

2 replies

stefanhelzle0001
February 13, 2025

Not sure what the problem is, but that additional content type header does not look right.

shantanuj524835
February 14, 2025

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.