问题描述
我正在与客户合作设置服务帐户凭据,以通过API读取G-Suite目录信息.
I'm working with a client to setup service account credentials, for the purpose of reading G-Suite Directory information over API.
我之前已经完成了十多次,没有任何问题,现在我遇到了一个问题,该设置没有为客户显示.
I've done this a dozen times before with no issues, and now I'm having a problem with a setting not showing up for the client.
下面是一张图像,显示了我正常看到的图像.读取中圈出的区域是启用域范围委派的功能所在.
Below is an image that shows what I would see normally. The area circled in read is where the ability to enable Domain-Wide Delegation exists.
但是,客户端现在确实看到了该部分.相反,他们看到此按钮.并且单击该按钮仅显示客户端ID,但没有启用域范围委派的选项.
However, the client does now see that section. Instead they see this button. And clicking the button just displays the Client ID's, but doesn't have an option to Enable Domain-Wide Delegation.
我们还没有通过整个设置来测试该服务帐户是否有效,并且我无法用我的测试帐户复制此UI界面.我总是从第一张图片而不是按钮上看到显示域委托".
We haven't gone through the entire setup to test if this service account works, and I haven't been able to duplicate this UI interface with my testing accounts. I always get the "Show Domain-Wide Delegation" from the first image, and not the button.
客户说他们是G-Suite管理控制台上的超级管理员.对于所有之前的步骤,我都有详细的说明,他们说的完全正确.唯一的区别是他们何时进入此页面.
The client says they are a Super Admin on the G-Suite Admin Console. I have detailed instructions for all the steps prior, which they said are exactly correct. The only difference is when they get to this page.
我希望有人会对为什么这个界面会有所不同以及修复它的方式有一些了解?
I was hoping someone would have some insight into why this interface would be different, and what might be some ways around fixing it?
推荐答案
如果您没有看到该复选框,则意味着无需启用它.您可以从UI或通过查看下载的JSON私钥获取客户端ID,然后使用该ID在管理控制台中授权您的范围.
If you don't see the checkbox, it means you don't need to enable it. You can get the client ID from the UI or by looking at the JSON private key you downloaded, and use that to authorize your scopes in the Admin console.
(感谢 @kspearrin 在评论中也提到了这一点)
(thanks @kspearrin who also mentioned that in the comments)
这篇关于Google G-Suite API控制台未显示“启用G Suite域范围委派"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!