Calling a REST API which has OAuth2.0 Authorization
0
Hi Team, I am trying to call an API whose authorization is OAuth 2.0 based. I am giving Client_Id and Client_Secret as Formdata and Client_Scope as Query parameter,. But I am getting an error like below. 'Error occurred while sending authentication request'{"error_description":"Unsupported Client Authentication type.","error":"invalid_request"} Can someone help me on this how to invoke an OAuth 2.0 based API from Mendix.
asked
Ajay Kumar Chinni
1 answers
0
Have you tried adding the the Client_Id and Client_Secret in the Authorization header as Basic Auth instead of form data? The API likely excepts that.