node-oauth icon indicating copy to clipboard operation
node-oauth copied to clipboard

Need OAuth2 example

Open mikebz opened this issue 13 years ago • 5 comments
trafficstars

I would love to have an example to follow for OAuth2 and Google services. Thanks!

mikebz avatar Mar 01 '12 01:03 mikebz

Have you seen my other project connect-auth? There are several usages there that should satisfy your needs?

ciaranj avatar Mar 01 '12 06:03 ciaranj

@ciaranj It would be helpful for these people who do not use Connect and don't want to use a middleware though :)

superfeedr avatar Oct 07 '12 10:10 superfeedr

Indeed. :)

dboundz avatar Oct 11 '12 19:10 dboundz

Really though, it's not very necessary to use node-oauth for OAuth 2 flows since there's no crypto/signing involved.

https://gist.github.com/3876911

dboundz avatar Oct 12 '12 01:10 dboundz

@dbounds It depends – when it comes to a project like passport where many different "strategies" are overriding the prototype [instead of having other functions overrided] – it could be handy [you just need the option to set headers, e.g. as suggested in the above] ...

sebilasse avatar May 24 '16 07:05 sebilasse