node-oauth
node-oauth copied to clipboard
Need OAuth2 example
I would love to have an example to follow for OAuth2 and Google services. Thanks!
Have you seen my other project connect-auth? There are several usages there that should satisfy your needs?
@ciaranj It would be helpful for these people who do not use Connect and don't want to use a middleware though :)
Indeed. :)
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
@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] ...