1

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.

AlexGad
  • 6,612
  • 5
  • 33
  • 45

1 Answers1

1

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).

Jared Hanson
  • 15,940
  • 5
  • 48
  • 45