node.jsoauth-2.0requestserver-to-server

Node.js request with oAuth2


I have no idea where to start (even where to start searching). I have to make request from Node.js server to another server with oAuth2 authentication. Could anyone give me some clue?


Solution

  • If anyone have problem with server-to-server communication (Meteor.js server to Google server) using OAuth 2.0 checkout library I've created https://github.com/jagi/meteor-google-oauth-jwt. It makes calling Google REST API from Meteor.js server much simpler.