流星谷歌oauth

编程入门 行业动态 更新时间:2024-10-25 09:31:33
流星谷歌oauth - 错误400(Meteor google oauth - error 400)

当我尝试使用oauth进行任何类型的授权时,出现400错误。 我尝试了不同的浏览器和不同的代码实现,但仍然失败。 所以我从Github上的Levelup教程库回复了一个简单的应用程序,并且在从api插入密钥后,我仍然收到400错误 API参数: 授权重定向URI - http:// localhost:3000 / _oauth / google?close 授权的JavaScript起源: http:// localhost:3000 当我从git安装示例Meteor App时,这是第一部分:

这里是第二部分,当我插入谷歌Api凭据,并得到一个错误:

I get an 400 error when I try to do any kind of authorization using oauth. I tried different browsers and different code implementations, but still failed. So I cloned a simple app from Levelup tutorial repo on Github, and after inserting secret key from api's I'm still getting 400 error API parameters: Authorized redirect URIs - http://localhost:3000/_oauth/google?close Authorized JavaScript origins: http://localhost:3000 Here's first part when I'm installing example Meteor App from git:

here's second part when I'm inserting google Api credentials and got an error:

最满意答案

所以经过几天的谷歌搜索,检查等......我在YouTube上观看了一段旧视频,并看到一位导师使用了Authorized redirect URIs而没有结束?close 正确的授权重定向URI - http:// localhost:3000 / _oauth / google 并且我使用了不正确的http:// localhost:3000 / _oauth / google?close

So after a few days of googling, checking and so on... I watched an old video on youtube, and saw that a tutor used Authorized redirect URIs without ending ?close Correct Authorized redirect URIs - http://localhost:3000/_oauth/google And I used incorrect http://localhost:3000/_oauth/google?close

更多推荐

本文发布于:2023-07-31 01:54:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1340450.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:流星   oauth

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!