Kong / mashape-oauth

OAuth Modules for Node.js - Supporting RSA, HMAC, PLAINTEXT, 2,3-Legged, 1.0a, Echo, XAuth, and 2.0
http://oauthbible.com
MIT License
1.77k stars 186 forks source link

difference mashape-oauth and passport + passport-oauth #6

Closed 0xgeert closed 10 years ago

0xgeert commented 10 years ago

What does mashape-oauth provide over passport + passport-oauth? Can they be used side-by-side or is it either/or?

nijikokun commented 10 years ago

Well, since this library is a from the ground up rewrite of the oauth dependency used inside of passport-oauth you could actually swap them out, it would take a little work but it would be beneficial in the end as this library provides gzip support, and additional features that the node-oauth library has neglected (check it's pull-requests and issues).

This library fixes those and more.

0xgeert commented 10 years ago

Sounds good. Are you aware of any examples that already combine passport-oauth and mashape-oauth as you suggest?

nijikokun commented 10 years ago

Not that I know of.