错误:invalid_scope - 此应用尚未通过验证 [英] Error: invalid_scope - This app hasn't been verified to access

查看:155
本文介绍了错误:invalid_scope - 此应用尚未通过验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前有没有人遇到过这个错误?我一直在研究,测试和敲打我的头,让这个错误消失,但似乎没有任何工作。



这是类似的问题,以下帖子:



错误:invalid_scope google读取联系人

Google Api ::错误:invalid_scope

调用Google People API时发生403错误 a>



不幸的是,这些帖子从来没有解决过,也没有帮助。



令人费解的是,我遵循下面列出的示例: https://developers.google的.com / API的客户端库/ JavaScript的/样品/试样的。除了仅测试我需要的范围外: https://开发人员.google.com / people / api / rest / v1 / people / get

然而,我似乎无法通过弹出窗口来说明我通过一个无效范围。

仅供参考,我的API控制台设置为使用Google People API,Google +和Google通讯录。我在gapi.auth2.init配置调用中使用我的客户端ID和API密钥。



任何洞察力都会超级有用!感谢您的时间和回应。

解决方案

这是一个范围问题,因为我的web应用程序尚未经过Google的OAuth验证。

作为开发者,您可以在此处输入您的测试帐户来测试源代码: https://groups.google.com/forum/#!forum/risky-access-by-unreviewed-apps

要获得批准,您必须在此处提交表单: https://support.google.com/code/contact/oauth_app_verification


Has anyone experienced this error before? I have been researching, testing, and banging my head to get this error to go away but nothing seems to work.

This is a similar question to the following posts:

Error: invalid_scope google read contact
Google Api:: Error: invalid_scope
403 error when calling Google People API

Unfortunately, these posts never were resolved or aren't helpful.

What is puzzling is, i'm following the examples listed here: https://developers.google.com/api-client-library/javascript/samples/samples. Along with testing the ONLY the scopes I need here: https://developers.google.com/people/api/rest/v1/people/get.

However, I cannot seem to get past the popup screen that states i'm passing an invalid scope.

FYI, I have the API Console setup to use Google People API, Google+, and Google Contacts. I'm using my client id and api key in the "gapi.auth2.init" config call.

Any insight would be super helpful! Thank you for your time and response.

解决方案

This is a scope issue because my web application has not been verified by Google for OAuth.

As a developer you can test the source by entering your test account(s) here: https://groups.google.com/forum/#!forum/risky-access-by-unreviewed-apps

To get approval you must submit the form here: https://support.google.com/code/contact/oauth_app_verification

这篇关于错误:invalid_scope - 此应用尚未通过验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆