Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
OAuth 1.0 and 2.0 authentication strategies for Passport and Node.js.
JavaScript
branch: master

This branch is 1 commit ahead, 92 commits behind jaredhanson:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/passport-oauth
test
.gitignore
.npmignore
.travis.yml
LICENSE
Makefile
README.md
package.json

README.md

Passport-OAuth

General-purpose OAuth 1.0 and OAuth 2.0 authentication strategies for Passport.

This module lets you authenticate using OAuth in your Node.js applications. By plugging into Passport, OAuth authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.

Note that this strategy provides generic OAuth support. In many cases, a provider-specific strategy can be used instead, which cuts down on unnecessary configuration, and accommodates any provider-specific quirks. See the list below for supported providers.

Developers who need to implement authentication against an OAuth provider that is not already supported are encouraged to sub-class this strategy. If you choose to open source the new provider-specific strategy, send me a message and I will update the list.

Installation

$ npm install passport-oauth

Strategies using OAuth

StrategyOAuth Version
37signals2.0
AngelList2.0
Bitbucket1.0a
Digg1.0a
Dropbox1.0
Dwolla2.0
Evernote1.0a
Facebook2.0
Fitbit1.0a
Flickr1.0a
Foursquare2.0
Geoloqi2.0
GitHub2.0
Goodreads1.0
Google1.0a, 2.0
Gowalla2.0
Instagram2.0
Justin.tv1.0a
LinkedIn1.0a
Meetup1.0a
Netflix1.0a
Ohloh1.0
OpenStreetMap1.0a
picplz2.0
Rdio1.0a
Readability1.0a
RunKeeper2.0
SmugMug1.0a
SoundCloud2.0
TripIt1.0
Tumblr1.0a
Twitter1.0a
Vimeo1.0a
Windows Live2.0
Yahoo!1.0a
Yammer2.0

Tests

$ npm install --dev
$ make test

Build Status

Credits

License

(The MIT License)

Copyright (c) 2011 Jared Hanson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.