301ebab90c
Added an extra test, and checked realHeaders to catch any dodgy custom ones
2013-03-05 18:07:40 +00:00
8be23c309c
Merge remote-tracking branch 'jfromaniello/bug129'
2013-03-05 17:43:51 +00:00
a295a66b60
Bumps package version to 0.9.10
2013-03-05 17:40:21 +00:00
03d713be9a
Fixes Issue #129
...
Not ideal, but effectively reverts the default behaviour of the library to how 0.9.8 worked,
that is it passes the access_token as a query parameter to the server.
To allow the utility 'get' method to use an Authorization header *instead* then you need to
explicitly enable this behaviour by using the method :
var oa= new Oauth(...);
oa.useAuthorizationHeaderforGET(true)
Note this can/should be used in conjunction with the other utility method:
oa.setAuthMethod(...)
The default value for the Authorization header is 'Bearer'
If you're building your own requests using oa._request then there is a new exported
method:
oa.buildAuthHeader(token)
2013-03-05 17:34:20 +00:00
ba81ad43bd
Fixes Issue #125 - Abusing externally passed in data structure
...
Also had to re-jig the test, as it turns out the contributor-supplied test
for this work didn't *actually* test anything :(
2013-03-05 17:00:35 +00:00
798157c185
fix #129 Setting token in query params and Authorization header violates spec
2013-03-05 04:04:00 -03:00
08fcb6881a
Upping version to 0.9.9
2013-03-01 20:08:28 +00:00
635ee2c1f7
Added RSA-SHA1 signature method based on the fork from https://github.com/wraithgar/node-oauth . Added test that uses the RSA-SHA1 method and verifies the signature using a public key.
2012-12-20 10:09:56 +01:00
45a983e6dc
Merge pull request #114 from rolandboon/master
...
Fix requests containing !'()* in POST data
2012-11-25 07:28:31 -08:00
282733a27f
Merge pull request #116 from yaru22/master
...
Adding post_headers parameter to getOAuthAccessToken method.
2012-11-25 07:25:02 -08:00
efbce5bd68
Add in Authorization Header and support extra headers by default.
2012-11-21 10:29:30 -05:00
240a992553
Update lib/oauth.js
...
Fix the mismatch between the output of querystring.stringify() and this._encodeData().
2012-09-28 12:59:59 +03:00
a846c282a9
Oops, my Readme.md wasn't consistent with the other lines
2012-07-28 13:49:52 +01:00
bd90c0fbf5
Bump version to 0.9.8 and update release notes
2012-07-28 13:45:19 +01:00
3a15f03c34
Merge pull request #101 from GCheung55/patch-1
...
Update to make sure hostName exists before trying to act on it
2012-07-28 05:33:46 -07:00
b103b70210
Add a test for Issue #105
2012-07-28 13:32:09 +01:00
d43a712548
Merge remote-tracking branch 'chrischw/master'
2012-07-28 13:25:12 +01:00
9db835000e
The fix for Issue #64 implies that the test server I've been using is wrong
2012-07-28 13:10:00 +01:00
b03f6ae424
Remove excess double URL encoding introduced by fixes for issue #64
2012-07-28 13:09:32 +01:00
92aa1cf2c2
Merge remote-tracking branch 'jrozner/master'
2012-07-28 13:07:06 +01:00
5fab3c577e
Added an option to change the OAuth parameter seperator
2012-07-07 00:56:39 +02:00
a7c1e94e71
Merge pull request #103 from gregjacobson/master
...
Add a section in the Readme for installation instructions
2012-06-29 16:54:14 -07:00
827351072b
Added installation instructions
...
There are number of oauth solutions for node.js and it is
helpful to provide the official installation instructions
in the Readme file. Installation instructions can be a little
confusing for this module because the github repository name
is node-oauth and there is a different node.js oauth
solution that isntalls via npm with the command node-oauth.
Since this solution installs with oauth official
instructions may be helpful to some developers.
2012-06-29 11:52:00 -04:00
409405f674
Update to make sure hostName exists before trying to act on it. Otherwise it will throw an error.
2012-06-11 11:36:31 -07:00
d8d1e0bad7
fixed issue #64 w/ tests
2012-06-07 10:44:54 -07:00
03a82b31e4
Updating version to 0.9.7
2012-04-24 22:26:10 +01:00
21bee6b316
Update documentation readme style
2012-04-24 22:25:02 +01:00
80d6909042
Merge branch 'add_support_for_oauth2_token_refresh' into merge_mayhem
2012-04-24 21:42:12 +01:00
ee4dbd2831
Acknowledging contributor
2012-04-24 21:41:31 +01:00
c631a31503
Adding a test for the refresh_token grant type support
2012-04-24 21:40:24 +01:00
64b2487199
Merge remote-tracking branch 'lukebaker/patch-1' into add_support_for_oauth2_token_refresh
2012-04-24 21:19:02 +01:00
5d0072d759
Merge branch 'not_require_http' into merge_mayhem
2012-04-24 21:12:02 +01:00
6b9323f2de
Acknowledge contributor
2012-04-24 21:11:40 +01:00
ef51782104
Fix global scope leak, and amend decision on when to use https or http libraries
2012-04-24 21:11:20 +01:00
1970e0045e
Merge remote-tracking branch 'dmathieu/fix_http' into not_require_http
...
Conflicts:
lib/oauth2.js
2012-04-24 20:54:49 +01:00
1359d695d2
Merge branch 'oauth2_results_callback' into merge_mayhem
2012-04-24 20:45:22 +01:00
6fa0288805
Adding test for passing back the extra data to the OAuth2 getOAuthAccessToken caller
2012-04-24 20:44:58 +01:00
e4cc471160
Merge commit '2e1f9f9' into oauth2_results_callback
2012-04-24 20:37:38 +01:00
ddb64a6935
Issue #93 removing outdated debian folder to ease debian package maintainer's lives
2012-04-24 08:22:44 +01:00
03f36922ac
Addresses issue #93 , adds *explicit* licensing information
...
This library has always been MIT licensed (see issue #5 for the earliest
question on this.) This commit merely adds an explicit complete licence file in
the root of the sourcetree, and adds a line to the package.json file
(thus coupling the sourcecode to github *sigh* )
2012-04-08 22:06:02 +01:00
e1a8422e7c
Add support for refreshing an access token
2012-03-13 23:17:15 -03:00
d300b4ebdd
Bumping to version 0.9.6
2012-03-02 21:38:14 +00:00
d3af76b3e9
Merge pull request #82 from raoulmillais/master
...
Lose the warning messages when you run the examples in node >0.6
2011-11-28 04:05:30 -08:00
cc2813d301
Update references sys -> util in examples to remove warnings in newer versions of node
2011-11-28 12:01:48 +00:00
2007134944
Merge pull request #76 from pnegri/live_protocol
...
[ #Issue 75 ] Fixing Live Protocol 302 Resources
2011-10-27 14:00:12 -07:00
6404f6e023
[ #Issue 75 ] Fixing Live Protocol 302 Resources
2011-10-26 14:05:03 -02:00
fd4b2bbf37
Merge pull request #73 from fjakobs/patch-1
...
request variable leaked into the global scope
2011-10-20 07:39:30 -07:00
9b4703aaca
request variable leaked into the global scope
2011-10-20 16:39:13 +03:00
32620902a5
don't send the request using https if the uri is http
2011-09-24 14:10:46 +02:00
2e1f9f9db6
callback results when getAccessToken
2011-09-21 01:26:33 +08:00