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

how to get OAuth consumer key from jazz via oauthRequestConsumerKeyUrl

 I am trying to get a consumer key from oauthRequestConsumerKeyUrl mentioned in the jazz root services. When i call this url via a rest api call, i send the required data in json format as mentioned on https://jazz.net/wiki/bin/view/Main/RootServicesSpecAddendum2, I get an error page back containing following heading and explanation

<h2>"Permission Denied"</h2>
<div>"Your account does not have the group memberships required to access the requested resource."</div>

Can somebody help in getting consumer key from jazz via a rest api call?

0 votes

Comments

When you said "jazz", did you mean jazz.net? If so, I don't think you can do it at all - that should require the JazzAdmins role which we don't have.

@dnong by jazz, I meant our local installation of rational doors next generation.



One answer

Permanent link
I cannot reproduce the problem in my CLM 5.0.2 environment. I get the expected behavior in the linked document. What do you want to do with this API? Register your application as a consumer to RDNG?

0 votes

Comments

We have a local installation of CLM 6.0.2. We want to register our application as an incoming friend to Global Configuration (GC) module. I have accessed the rootservices document of GC i.e. https:/localJazz:9443/gc/rootservices, it contains a link for oauthRequestConsumerKeyUrl, as we have to register our application as an inbound friend to RDNG, that's why i am calling this oauthRequestConsumerKeyUrl and sending the json as mentioned in the rootServicesSpecAddendum. But the response that i am getting is an error message saying "Permission Denied" as mentioned in question above.

Is it possible for third party applications to register themselves as an inbound friend to RDNG?
if yes, then what kind of permissions we need to do this?

Is it a typo? Why "gc" in the URL? I expect "rm" or "jts".

 gc is not a typo. I want to register my application in "Consumers (Inbound)" in GC module. It is possible to do it via web interface. But I was trying to find out a way to do it via some api call.

Wow, a response 15 months too late. While I am not sure whether you can register a third-party application to GC that way, what you want to achieve as described looks confusing to me.

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,963
× 7,517

Question asked: May 04 '16, 5:35 a.m.

Question was seen: 3,237 times

Last updated: Aug 10 '17, 5:31 a.m.

Confirmation Cancel Confirm