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"
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
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 11 '20, 10:34 a.m.Not sure, i would start here: https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication . Depends on what you are doing.
anuraag kb
Aug 11 '20, 1:55 p.m.Hi Ralph,
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 12 '20, 2:42 a.m.Outside of the realm of my experience. sorry.