invalid_consumer_key during OAuth authentication
![]()
anuraag kb (9●16)
| asked Aug 11 '20, 7:30 a.m.
edited Aug 13 '20, 11:32 p.m. by Muralidhar Rajagopal (101●1●4) 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"
|
One answer
![]()
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?
|
Comments
Not sure, i would start here: https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication . Depends on what you are doing.
Hi Ralph,
Outside of the realm of my experience. sorry.