Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Frequent Visitor.

Using RMNet to access web service using OAuth 2.0 via Implicit Grant

Hi all,

Has anybody used RMNet to implement an OAuth 2 solution. I am specifically trying access Audatex Audconnect solution for exporting assessments. I can get the authorization login to work using the browser control but the return post opens a new web page which I don't really want to see but I can glean the token from it by inquiring on the web browser control. However, having got the token I then need to post requests using httppost/httpget using the returned token to setup a request for an export and return the endpoint for getting the assessment data. All the posts after the authorization have Curl command equivalent's but I cannot get any of them to work. A simple one is to find out who you are when connected and the curl command is curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer 'returned token' 'audaconnect-demo.ax-aee.co.uk/.../whoami' which works from the command line when I run it. I have attached a curl trace log file which shows how curl processes this command successfully. Can anyone help firstly in how to make the authorization work without the new web page being displayed and subsequently to be closed manually and interpret the Curl trace log into a correct httpget to post underr RMNet.


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.