1. 首页
  2. 考试认证
  3. 其它
  4. service.google auth配置说明

service.google auth配置说明

上传者: 2024-12-24 15:48:40上传 ZIP文件 6.71KB 热度 13次

谷歌令牌使用此服务获取连接到 Google 的服务的访问令牌。在任何事情之前,您需要在根文件夹中有一个 config.js 文件,其内容如下:


exports.server = { port: 7777 // the port for the oauth site };

exports.communication = { port: 7776, // the port for the req service pubPort: 7775, // the port for the pub service };

exports.google = { key: 'your-google-app-id', secret: 'your-google-app-secret', callback: 'http://localhost' };

下载地址
用户评论