OAuth when accessing external OSLC server
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
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.
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/