Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Authentication on the LQE 6.0 REST API

I am trying to execute a SPARQL query from a program over the LQE REST API (https://localhost/lqe/sparql?query=SELECT%20... ). To get through the OAuth authentication I am trying to use Eclipse Lyo, and then use the Wink Client in Lyo to access the API. I am using the same use case with DOORS NG successfully. However, the OAuth authentication with LQE is not successful.

Does any one have experience accessing the LQE REST API from an external program? If yes, what was used to handle the authentication?

1

0 votes



2 answers

Permanent link
Basically Oath use 2-Step authentication to get the required cookies to make a valid Rest call.

I  am enlisting the cookies below for DNG 6.0 Cloud.
JAZZ_AUTH_TOKEN
LtpaToken2
JSESSIONID

I am doing the authentication from C# using RestSharp library.

Use the RestClient/PostMan from Firefox or chrome to get the exact URL , request , response and the cookies to do so..!!!
Once you have all the raw-request you can post the same through your code.

0 votes


Permanent link

 Has anyone been able to follow up on this? 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,932
× 478
× 137
× 73

Question asked: Jul 06 '15, 11:55 a.m.

Question was seen: 3,993 times

Last updated: Feb 26 '19, 5:44 p.m.

Confirmation Cancel Confirm