This node allows to create OAuth-1-signed HTTP requests.
“OAuth provides a method for clients to access server resources on behalf of a resource owner (such as a different client or an end-user). It also provides a process for end-users to authorize third-party access to their server resources without sharing their credentials (typically, a username and password pair), using user-agent redirections.“ (see RFC5849)
The node itself does not perform any requests – this must be done with a connected “HTTP Retriever” node.
Supply this node with an input table which contains columns for the
full request URLs (including query parameters, if they should be
sent), (optionally) a column which denotes the HTTP method if different from
GET (e.g. POST, etc.), and (optionally)
further columns for further parameters from the request’s entity-body,
which should be used for creating the signature (column name being
the key, cell content the value).
The last only applies, if:
application/x-www-form-urlencoded, andContent-Type HTTP header is set to
application/x-www-form-urlencoded.
The node will append one column called Authorization
which contains the created OAuth data. Select this column in the
“HTTP Retriever” configuration in the “Headers” tab and make sure to
configure the HTTP Retriever with the same data which you used for
signing.
This node is implemented according to Twitter’s instructions, but can be used for general OAuth 1.0 signing purposes. More information about OAuth can be found here.
GET, POST, …).
Leave empty to use GET.HMAC-SHA1, HMAC-SHA256, HMAC-SHA512, and
PLAINTEXT (this should only be used with encryption, i.e. https:!)Authorization
header (e.g. realm="foo").You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Palladian for KNIME from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!