简体   繁体   English

使用oAuth2的Node.js请求

[英]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. 我必须从Node.js服务器向使用oAuth2身份验证的另一台服务器发出请求。 Could anyone give me some clue? 有人可以给我一些线索吗?

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 . 如果有人在使用OAuth 2.0签出库进行服务器到服务器通信(Meteor.js服务器到Google服务器)时遇到问题,那么我已经创建了https://github.com/jagi/meteor-google-oauth-jwt It makes calling Google REST API from Meteor.js server much simpler. 它使从Meteor.js服务器调用Google REST API变得更加简单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM