Cannot get list of projects - consumer key pb
![](http://jazz.net/_images/myphoto/c82e54de68bf0d69f704a97a9de7772f.jpg)
Hello,
I have JTS 3.0 installed and RTC 3.0.
- In JTS there is a consumer entry for ccm with a consumer key at https://myServer.com:9443/jts/admin#action=com.ibm.team.repository.admin.configureOAuth
- In CCM there is a consumer entry for JTS with a consumer key at https://myServer.com:9443/ccm/admin#action=com.ibm.team.repository.admin.configureOAuth
So far so good JTS and CCM can communicate.
Then I defined a Jazz app (https://localhost:9444/testApp) deployed on JTS that makes a request to a REST service to get the list of projects from CCM. The REST services is invoked correctly but when I run the http request with URL "https://testserver.com:9443/ccm/process/project-areas" I get this error
I don't understand why since JTS and CCM are configured as friends.
What am I doing wrong?
Thanks in advance for your help.
I have JTS 3.0 installed and RTC 3.0.
- In JTS there is a consumer entry for ccm with a consumer key at https://myServer.com:9443/jts/admin#action=com.ibm.team.repository.admin.configureOAuth
- In CCM there is a consumer entry for JTS with a consumer key at https://myServer.com:9443/ccm/admin#action=com.ibm.team.repository.admin.configureOAuth
So far so good JTS and CCM can communicate.
Then I defined a Jazz app (https://localhost:9444/testApp) deployed on JTS that makes a request to a REST service to get the list of projects from CCM. The REST services is invoked correctly but when I run the http request with URL "https://testserver.com:9443/ccm/process/project-areas" I get this error
CRJZS0033E The consumer key is not valid and the consumer may not be registered. The service provider is "https://testserver.com:9443". The consumer key is "d41...852".
I don't understand why since JTS and CCM are configured as friends.
What am I doing wrong?
Thanks in advance for your help.
3 answers
![](http://jazz.net/_images/myphoto/c82e54de68bf0d69f704a97a9de7772f.jpg)
What consumer key are you using to sign requests to the CCM application? For your application to make requests of CCM, your application must have a consumer key allocated in CCM for it.
Hello,
I have JTS 3.0 installed and RTC 3.0.
- In JTS there is a consumer entry for ccm with a consumer key at https://myServer.com:9443/jts/admin#action=com.ibm.team.repository.admin.configureOAuth
- In CCM there is a consumer entry for JTS with a consumer key at https://myServer.com:9443/ccm/admin#action=com.ibm.team.repository.admin.configureOAuth
So far so good JTS and CCM can communicate.
Then I defined a Jazz app (https://localhost:9444/testApp) deployed on JTS that makes a request to a REST service to get the list of projects from CCM. The REST services is invoked correctly but when I run the http request with URL "https://testserver.com:9443/ccm/process/project-areas" I get this errorCRJZS0033E The consumer key is not valid and the consumer may not be registered. The service provider is "https://testserver.com:9443". The consumer key is "d41...852".
I don't understand why since JTS and CCM are configured as friends.
What am I doing wrong?
Thanks in advance for your help.
![](http://jazz.net/_images/myphoto/c82e54de68bf0d69f704a97a9de7772f.jpg)
Thanks for your reply.
My application has a consumer key allocated in JTS, not CCM. I thought that I could make a request to CCM from my application because CCM is defined as a consumer in JTS and CCM has JTS defined as a "friend", therefore I should be able to send a request to JTS for CCM?
Is my thinking wrong?
Thank you for clarifying.
My application has a consumer key allocated in JTS, not CCM. I thought that I could make a request to CCM from my application because CCM is defined as a consumer in JTS and CCM has JTS defined as a "friend", therefore I should be able to send a request to JTS for CCM?
Is my thinking wrong?
Thank you for clarifying.
![](http://jazz.net/_images/myphoto/c82e54de68bf0d69f704a97a9de7772f.jpg)
The fact that CCM has a friend entry for the JTS, and there is a consumer allocated for CCM in the JTS, means that CCM can send requests to the JTS with its consumer key. But that doesn't allow other applications to send requests to CCM, even if those applications are registered with the JTS. Since CCM is an OAuth provider, it must have a consumer allocated for your application. We have the same requirement for the CLM configuration, where all three applications (CCM, QM, and RM) must be friends of each other.