It's all about the answers!

Ask a question

OAuth when accessing external OSLC server


Leszek Zając (463) | asked Jun 08 '20, 11:49 a.m.
Hi,

I'm developing an OSLC server providing requirements through an OSLC interface.
I wan't to create a link to such an requirement in Doors NG (version 6.0.6.1).
I have registered a friend in the RM app and I see that Doors NG has requested the root services URL,
but it never calls my request token URL or access token URL.

It sends requests without passing the OAuth authorization header.
Am I missing some configuration?

I'm using OAuth 1.0.

Best regards

2 answers



permanent link
Leszek Zając (463) | answered Jul 01 '20, 5:21 a.m.

Hi Javier,

In my case it is the other direction: Doors NG is calling my OSLC server.

I've solved it already.
As a hint: Doors will not actively request a request token. You have to respond with HTTP 401 and "WWW-Authenticate: OAuth" header. This will trigger the OAuth authentication on the Doors side.


permanent link
Javier Davalos (9115) | answered Jul 01 '20, 3:15 a.m.
Hi Leszek, seems like you're facing a similar issue to what's described in this other question: https://jazz.net/forum/questions/236495/oslc-request-token.

There are some additional OAuth notes which could be helpful this document: https://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/

Your answer


Register or 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.