Forum Discussion
Palou
New Contributor
Hi,
I have exactly the same issue with my OAuth Token retrieval.
In curl, the HTTP header Authorization is used to pass the client_id and client_secret.
With SoapUI 5.4.0, these 2 elements are send in the Body of the request, the oauth server is rejecting the request since it is expecting the HTTP header Authorization.
It seems to be a bug in SoapUI.
/Palou
naveen8944
5 years agoContributor
Palou - Make sure MediaType as xxx-form-urlencoded and select Post query string. Add a header with content type as app/x-www-form-urlencoded. Screen shot below.