Skip to Content

Basic Auth works with OKHTTP but not with OAuthSAMLConfig

Feb 27 at 10:09 AM


avatar image

Hi Colleagues,

We are trying to access JAM APIs from our HCP Java App. We have recently migrated to tomcat 8 runtime, and since it doesn't have httpdestination,we have been using OKHttp for all our network calls. It works fine for normal GET/PUT/POST requests but it's not working with the JAM API(since it's using OAuthSAML) .The url returns data in postman with OAuth token but in the app, the message we are getting is :

#Got response:<?xml version="1.0" encoding="UTF-8"?> <hash> <status type="integer">0</status> <error>Internal Server Error</error> </hash>


We are getting all the destination related properties from HCP cockpit. Can you please help ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers