OAuth wrapper for node.js
JavaScript
Switch branches/tags
v0.0.7 v0.0.6 upstream/0.9.4 upstream/0.9.0 upstream/0.8.4 upstream/0.8.2 hudson-node-oauth-61 hudson-node-oauth-60 hudson-node-oauth-59 hudson-node-oauth-59-SUCCESS hudson-node-oauth-58 hudson-node-oauth-58-SUCCESS hudson-node-oauth-57 hudson-node-oauth-57-SUCCESS hudson-node-oauth-56 hudson-node-oauth-56-SUCCESS hudson-node-oauth-55 hudson-node-oauth-55-SUCCESS hudson-node-oauth-54 hudson-node-oauth-54-SUCCESS hudson-node-oauth-53 hudson-node-oauth-53-SUCCESS hudson-node-oauth-52 hudson-node-oauth-51 hudson-node-oauth-50 hudson-node-oauth-49 hudson-node-oauth-49-SUCCESS hudson-node-oauth-48 hudson-node-oauth-47 hudson-node-oauth-47-SUCCESS hudson-node-oauth-18 hudson-node-oauth-17 hudson-node-oauth-17-SUCCESS hudson-node-oauth-16 hudson-node-oauth-16-SUCCESS hudson-node-oauth-15 hudson-node-oauth-15-SUCCESS hudson-node-oauth-14 hudson-node-oauth-14-SUCCESS hudson-node-oauth-13 hudson-node-oauth-13-SUCCESS hudson-node-oauth-12 hudson-node-oauth-12-SUCCESS hudson-node-oauth-11 hudson-node-oauth-11-SUCCESS hudson-node-oauth-10 hudson-node-oauth-10-SUCCESS hudson-node-oauth-9 hudson-node-oauth-9-SUCCESS hudson-node-oauth-8 hudson-node-oauth-8-SUCCESS hudson-node-oauth-7 hudson-node-oauth-7-SUCCESS hudson-node-oauth-6 hudson-node-oauth-6-SUCCESS hudson-node-oauth-5 hudson-node-oauth-5-SUCCESS hudson-node-oauth-4 hudson-node-oauth-4-SUCCESS hudson-node-oauth-3 hudson-node-oauth-2 hudson-node-oauth-2-SUCCESS hudson-node-oauth-1 hudson-node-oauth-1-SUCCESS debian/0.9.4-0sg61 debian/0.9.4-0sg60 debian/0.9.4-0sg59 debian/0.9.0-0sg58 debian/0.9.0-0sg57 debian/0.9.0-0sg56 debian/0.9.0-0sg55 debian/0.9.0-0sg54 debian/0.9.0-0sg53 debian/0.9.0-0sg52 debian/0.9.0-0sg51 debian/0.9.0-0sg50 debian/0.9.0-0sg49 debian/0.9.0-0sg48 debian/0.9.0-0sg47 debian/0.9.0-0sg18 debian/0.9.0-0sg17 debian/0.9.0-0sg16 debian/0.9.0-0sg15 debian/0.9.0-0sg14 debian/0.8.4-0sg13 debian/0.8.4-0sg12 debian/0.8.4-0sg11 debian/0.8.4-0sg10 debian/0.8.4-0sg9 debian/0.8.2-0sg8 debian/0.8.2-0sg7 debian/0.8.2-0sg6 debian/0.8.2-0sg5 debian/0.8.2-0sg4 debian/0.8.2-0sg2 debian/0.8.2-0sg1 0.8.2 0.8.1 0.8.0 0.7.7
Nothing to show
Pull request Compare This branch is 42 commits ahead, 114 commits behind ciaranj:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
examples
lib
tests
.gitignore
Makefile
Readme.md
index.js
package.json

Readme.md

node-oauth

A simple oauth API for node.js . This API allows users to authenticate against OAUTH providers, and thus act as OAuth consumers. It also has support for OAuth Echo, which is used for communicating with 3rd party media providers such as TwitPic and yFrog.

Tested against Twitter (http://twitter.com), term.ie (http://term.ie/oauth/example/), TwitPic, and Yahoo!

Also provides rudimentary OAuth2 support, tested against facebook connect and github. For more complete usage examples please take a look at connect-auth (http://github.com/ciaranj/connect-auth)

Change History

  • 0.9.4 - Support for OAuth providers that drop connections (don't send response lengths? [Google]) And change OAuth2 getOAuthAccessToken to POST rather than GET ( Possible Breaking change!!! ... re-tested against Google, Github, Facebook, FourSquare and Janrain and seems ok .. is closer to the spec (v20) )
  • 0.9.3 - Adds support for following 301 redirects (Thanks bdickason)
  • 0.9.2 - Correct content length calculated for non-ascii post bodies (Thanks selead) Allowed for configuration of the 'access token' name used when requesting protected resources (OAuth2)
  • 0.9.1 - Added support for automatically following 302 redirects (Thanks neyric) Added support for OAuth Echo (Thanks Ryan LeFevre). Improved handling of 2xx responses (Thanks Neil Mansilla).
  • 0.9.0 - Compatibility fixes to bring node-oauth up to speed with node.js 0.4x [thanks to Rasmus Andersson for starting the work ]
  • 0.8.4 - Fixed issue #14 (Parameter ordering ignored encodings). Added support for repeated parameter names. Implements issue #15 (Use native SHA1 if available, 10x speed improvement!). Fixed issue #16 (Should use POST when requesting access tokens.). Fixed Issue #17 (OAuth2 spec compliance). Implemented enhancement #13 (Adds support for PUT & DELETE http verbs). Fixes issue #18 (Complex/Composite url arguments [thanks novemberborn])
  • 0.8.3 - Fixed an issue where the auth header code depended on the Array's toString method (Yohei Sasaki) Updated the getOAuthRequestToken method so we can access google's OAuth secured methods. Also re-implemented and fleshed out the test suite.
  • 0.8.2 - The request returning methods will now write the POST body if provided (Chris Anderson), the code responsible for manipulating the headers is a bit safe now when working with other code (Paul McKellar) and tweaked the package.json to use index.js instead of main.js
  • 0.8.1 - Added mechanism to get hold of a signed Node Request object, ready for attaching response listeners etc. (Perfect for streaming APIs)
  • 0.8.0 - Standardised method capitalisation, the old getOauthAccessToken is now getOAuthAccessToken (Breaking change to existing code)
  • 0.7.7 - Looks like non oauth_ parameters where appearing within the Authorization headers, which I believe to be incorrect.
  • 0.7.6 - Added in oauth_verifier property to getAccessToken required for 1.0A
  • 0.7.5 - Added in a main.js to simplify the require'ing of OAuth
  • 0.7.4 - Minor change to add an error listener to the OAuth client (thanks troyk)
  • 0.7.3 - OAuth 2 now sends a Content-Length Http header to keep nginx happy :)
  • 0.7.2 - Fixes some broken unit tests!
  • 0.7.0 - Introduces support for HTTPS end points and callback URLS for OAuth 1.0A and Oauth 2 (Please be aware that this was a breaking change to the constructor arguments order)

Contributors