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

LQE Authentication Programmatically

Trying to programmatically (C#) execute a SPARQL Query via the endpoint, but I am unable to get authorized.  


I've authenticated through /rm and received my JAZZ_AUTH_TOKEN and have tried to add that cookie to my request to /lqe, this does not work.  

Through exploration I have found when a user authenticates to LQE through a browser, jazz gives you a cookie called 'lqe.authIdentifier' which when i hard code into my request to LQE works. 

Has anyone has been able to get this cookie programmatically?

0 votes

Comments

What version of Jazz/lqe? What authentication method is your server you using? LDAP directly from JTS? LDAP through JAS? 



3 answers

Permanent link

 Same problem here. Any help on this one?

0 votes


Permanent link

 For examples on how to authenticate for APIs, I have written to blog posts, one addressing Oauth1.0a and the other OIDC based.  Using these you should be able to pass authentication into your API requests - https://michaelrowe01.com/index.php/day-job/ibm-elm/api-authentication-method-in-elm-oauth-1-0a/ and https://michaelrowe01.com/index.php/day-job/ibm-elm/api-authentication-method-in-elm-oidc/

0 votes


Permanent link

There is no public API for LQE to run SPARQL queries, in fact no public APIs for LQE at all.


You can embed custom SPARQL in a Report Builder report, then PUB can generate the report.

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
× 233
× 82
× 73
× 25

Question asked: Feb 26 '19, 5:44 p.m.

Question was seen: 3,424 times

Last updated: Oct 23 '23, 7:06 a.m.

Confirmation Cancel Confirm