Google Domain API访问错误 [英] Google Domain API Access Error

查看:208
本文介绍了Google Domain API访问错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Google应用帐户用户。当我尝试访问Google Plus域名API时出现此错误。 由于用户同意不兼容的范围,因此不允许访问Google+ Domains API。我要求的范围是: https: //www.googleapis.com/auth/plus.circles.read,https://www.googleapis.com/auth/plus.circles.write,https://www.googleapis.com/auth/plus.media。上传,HTTPS://www.googleapis.com/auth/plus.stream.read,https://www.googleapis.com/auth/plus.stream.write,https://www.googleapis.com/auth/ admin.directory.user,HTTPS://www.googleapis.com/auth/admin.directory.user.readonly 。我一直试图很长时间来解决这个问题。有人可以对此有所了解吗?

解决方案

是否有可能用户以前同意应用程序在同一个项目中, a href =https://www.googleapis.com/auth/plus.login =noreferrer> https://www.googleapis.com/auth/plus.login ?该范围与域API不兼容,这可能导致该问题。



如果这是您正在测试的自己的用户,最简单的方法可能是从您的用户设置中撤消对应用的所有访问权限( https://security.google.com/settings/security/permissions ),然后查看是否出现错误。

i am a google apps account user. I get this error when i try to access Google Plus Domains API. "Access to the Google+ Domains API is not allowed as the user has consented to incompatible scopes". The scopes that i requested for are: "https://www.googleapis.com/auth/plus.circles.read,https://www.googleapis.com/auth/plus.circles.write,https://www.googleapis.com/auth/plus.media.upload,https://www.googleapis.com/auth/plus.stream.read,https://www.googleapis.com/auth/plus.stream.write,https://www.googleapis.com/auth/admin.directory.user,https://www.googleapis.com/auth/admin.directory.user.readonly". I have been trying in vain for a long time to solve this. Can someone throw light on this?

解决方案

Is it possible the user has previously consented to an app in the same project with scope https://www.googleapis.com/auth/plus.login? That scope is incompatible with the domains API, which may be causing the issue.

If this is your own user you are testing with, the easiest way might be to revoke all access to the app from your user settings, (https://security.google.com/settings/security/permissions) and seeing if you get the error then.

这篇关于Google Domain API访问错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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