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

invalid_consumer_key during OAuth authentication

Following the doc https://jazz.net/wiki/bin/view/Main/AppSdkDelegatingAuth we registered our OAuth consumer and generated the consumer key and set the consumer secret.


When we trigger GET/POST request for retrieving the request token from URL <ETMServer>/qm/oauth-request-token  we always get back 401 response and with the message as oauth_problem="invalid_consumer_key"

The authorization header we used in the request is :
OAuth oauth_consumer_key="<key>",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1597144598",oauth_nonce="ODNWiPkZd03",oauth_version="1.0",oauth_signature="xrO2BxhlAWcvVtgCB9qJEQIliKs%3D"

0 votes

Comments

Not sure, i would start here: https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication . Depends on what you are doing.

Hi Ralph,


Our plan is to use OAuth mechanism for authentication involved in custom adapter development. If you could kindly review our issue we posted above with your team.

Thanks.

Outside of the realm of my experience. sorry.



One answer

Permanent link
Hi,
I assume this question is related with ETM specific custom adapter.

Are you trying to let your adapter connect to JTS directly for authentication? Or you are trying to connect to other application? Why do you need to perform a separate OAuth Authentication for your custom adapter?

ETM provides Adapter Library, which support certain authentication types.

Do you want to by pass Adapter Library authentication options?

0 votes

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,953
× 7,510
× 1,340

Question asked: Aug 11 '20, 7:30 a.m.

Question was seen: 2,064 times

Last updated: Nov 24 '20, 12:13 a.m.

Confirmation Cancel Confirm