我试着用帐户-谷歌包连接到谷歌。
我已经安装了两个软件包。
meteor add service-configuration
meteor add accounts-google这就是我的server/config.js文件的外观。
ServiceConfiguration.configurations.upsert(
{ service: "google" },
{
$set: {
clientId: "xxxxxxxx",
loginStyle: "popup",
secret: "xxxxx"
}
}
);我在谷歌控制台上的设置。
Javascript:http://localhost:3000/
重定向网址:http://localhost:3000/_oauth/google?close
但我总是犯同样的错误。

很清楚,错误中继在重定向url上,所以这个http://localhost:3000/_oauth/google?close有什么问题吗?
我已经按照斯拉瓦指出的步骤在Github第2717期
发布于 2015-05-05 19:46:52
检查Google控制台中api键的设置,以确保已将http://localhost:3000/添加到授权源,并将http://localhost:3000/_oauth/google和http://localhost:3000/_oauth/google?close添加到授权重定向urls中。
https://stackoverflow.com/questions/30061050
复制相似问题