node-oauth
node-oauth copied to clipboard
OAuth wrapper for node.js
I hadded support for HMAC-SHA256 encoding to accomodate magento2 oauth1 (https://developer.adobe.com/commerce/webapi/get-started/authentication/gs-authentication-oauth/)
Hello, I am trying to upload image to etsy with this package. I did the following for performing the operation. ` public async post(path: string, params: any, content: any, type:...
This PR adds `/lib/` directory into list of published files. What excludes any other files except of mandatory to be included into a package. This change reduces overall package size...
Issue is shown when using the following snippet: ``` import * as OAuth from 'oauth'; const manager = new OAuth.OAuth('', '', 'key', 'secret', '1.0', () => {}, 'HMAC-SHA1'); manager.signUrl('https://example.com?query=a&query=b') ```...
after usign it with get, it worked but when i wanted to use it with an api with post methode it therows error this is my code ``` ` const...
oauth2 requests with the PATCH verb don't add the post body to the request
Fixes #350
The OAuth `authHeader` method https://github.com/ciaranj/node-oauth/blob/master/lib/oauth.js#L574 is not accepting a `extra_params` required to create a valid signature for POST requests with url encoded form parameters. The solution is straightforward and it...