node-oauth icon indicating copy to clipboard operation
node-oauth copied to clipboard

How to pass SSL client certificate in the oauth object?

Open janejanejane opened this issue 9 years ago • 2 comments

I'm trying to connect to a service that uses OAuth1 with ssl certificate and key for authentication. Is it possible to add ssl details to the oauth object?

janejanejane avatar Feb 09 '16 00:02 janejanejane

Hey, I need this same feature as well. I looked into the node-oauth source code and in function _createClient() there is the definition of the options object which gets passed to the https request. If we can specify our own options object or additions to it, that would be great.

I too need to specify a custom key and cert file while doing a OAuth1 cycle.

george-haddad avatar Nov 09 '16 11:11 george-haddad

+1.

jhiver avatar Jan 19 '17 15:01 jhiver