It's all about the answers!

Ask a question

OAuth with DNG 6.0.4


A Ragab (111) | asked Jun 26 '18, 6:46 p.m.
edited Jun 27 '18, 12:34 p.m.

 Hi,


I'm trying to implement an app that can authenticate using OAuth with DNG/JTS server, I'm following the steps that were shown in Example 03 of OSLC workshop (validateToken function), but when I authenticate using username/password I expect I'll get a callback/redirect url with oauth_verifier parameter, but DNG doesn't generate that.

Any ideas on what I'm doing wrong, or if the example is missing something?


Comments
A Ragab commented Jun 27 '18, 11:13 a.m.

 Here is a link to the OSLC workshop https://jazz.net/wiki/bin/view/Main/OSLCWorkshopDownload


The example I'm referring to is Example03 in the project net.jazz.oslc.consumer.oslc4j.rm.client

One answer



permanent link
Jim Amsden (19336) | answered Jun 27 '18, 11:46 a.m.

 Try authenticating with the JTS, not DNG.



Comments
A Ragab commented Jun 27 '18, 12:33 p.m.

 The OAuth requests and authentication goes to JTS already. This is part of the rootservices discovery 


the request token URL for example is 

Your answer


Register or to post your answer.