AnsweredAssumed Answered

Oauth 1.0 signature method

Question asked by george.chai on Sep 6, 2016
Latest reply on Aug 30, 2017 by andrew.green097416

Hi, I'm trying to connect to Xero, it's API uses the OAuth RSA-SHA1 method to sign messages. I've created the public/private key-pair and am using the privatekey for client authorization in the connection under ssl options. Where can I set the signature method for OAuth?

 

The response I'm receiving is:

 

"oauth_problem=signature_method_rejected&oauth_problem_advice=Private%20applications%20must%20use%20the%20RSA-SHA1%20signature%20method" 

 

this was in the logs:

 

com.boomi.connector.ConnectorException: Error message received from Http Server, Code 400: Bad Request
at com.boomi.connector.http.BaseHttpAction.checkResponseCode(BaseHttpAction.java:631)
at com.boomi.connector.http.HttpGet.handle(HttpGet.java:320)
at com.boomi.connector.http.HttpGet.get(HttpGet.java:87)
at com.boomi.connector.custom.CustomGetConnectorAction.invoke(CustomGetConnectorAction.java:47)
at com.boomi.connector.base.BaseConnectorAction.invokeBase(BaseConnectorAction.java:295)
at com.boomi.connector.base.BaseConnectorAction.invoke(BaseConnectorAction.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.boomi.util.ClassUtil$InvokerWithClassLoader.invoke(ClassUtil.java:360)
at com.sun.proxy.$Proxy36.invoke(Unknown Source)
at com.boomi.process.shape.ConnectorShapeHandler.execute(ConnectorShapeHandler.java:152)
at com.boomi.process.shape.ConnectorShape.execute(ConnectorShape.java:143)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:550)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:783)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:920)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:63)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Outcomes