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

RQM login using Consumer Key OAuth authentication

We are trying to develop a custom Web application that uses the RQM Rest api to query and update assets in RQM. For accessing the assets in RQM the Rest api requires the RQM user credentials. We are looking for a way to use the already active session of RQM and prevent the need to enter RQM credentials again.

While looking into the problem we realized that other Rational products like DOORS and RTC provides similar functionality where DOORS is able to create back-links in RQM without asking the user to log into RQM if an active RQM session exists. We think the functionality is provided by the Consumers/Friends OAuth based authentication.

Is it possible to implement similar functionality in our own app, if yes then is there some documentation or sample code available for Consumers/Friends functionality. Any help is greatly appreciated.

0 votes


Accepted answer

Permanent link
This article may get you started:


Basically, you'll need to create a "consumer" in RQM for your application; that allocates a key, and stores a secret you specify. Your application will need to store the key and secret somehow so it can use them when generating requests that use OAuth authentication. The wiki page provides examples that use utilities available in the Application SDK which you may choose to use, or you can decide to either implement all the functionality yourselves, or find other OAuth utility libraries out there. The Application SDK itself bundles code obtained from oauth.net. If you use code you find elsewhere, be sure that it works with the OAuth 1.0a protocol - Jazz products do not yet support the more recent OAuth 2.0 protocol.
Prasun Roy selected this answer as the correct answer

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,995
× 482
× 36
× 8

Question asked: Oct 17 '12, 4:07 p.m.

Question was seen: 8,531 times

Last updated: Oct 18 '12, 11:27 a.m.

Confirmation Cancel Confirm