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?
Does any one have experience accessing the LQE REST API from an external program? If yes, what was used to handle the authentication?
2 answers
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.
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.