Skip to content

OAuth 1.0 and 2.0 authentication strategies for Passport and Node.js.

License

Notifications You must be signed in to change notification settings

leods92/passport-oauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

OAuth 1.0 and 2.0 authentication strategies for Passport and Node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%