I have a node.js API that I want to protect via 2-legged OAuth. Was wondering if anyone knows of a server side implementation for this. Please note that this is for server to server communication and is not to provide user authentication via a 3rd party server.
-
github.com/ammmir/node-oauth2-providerChris Biscardi– Chris Biscardi2011-12-05 05:39:45 +00:00Commented Dec 5, 2011 at 5:39
-
There are a few around. See the following question: stackoverflow.com/questions/6822840/… for details.Randolpho– Randolpho2012-01-23 21:38:21 +00:00Commented Jan 23, 2012 at 21:38
Add a comment
|
1 Answer
Take a look at passport-http-oauth, a Passport authentication strategy. It implements the OAuth HTTP authorization scheme, and can be used independently of the user authorization flow (as is the case with 2-legged OAuth).