当我试图生成刷新令牌时,如何摆脱403 "org_internal.This client is restricted to users within organization"?当我试图生成一个刷新令牌时,该客户端仅限于其组织内的用户。

问题描述 投票:0回答:1

当我使用 generate_refresh_token.py :

pipenv run python authentication/generate_refresh_token.py --client_id xxxxx --client_secret yyyy
Log into the Google Account you use to access your AdWords account and go to the following URL:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=xxxx&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&state=xxxxx&prompt=consent&access_type=offline

当我按照链接操作时,我得到了一个403 "org_internal.This client is restricted to users within its organization",我使用的是google账户,该账户有一个与组织域相匹配的,我被邀请到项目中。This client is restricted to users within its organization", I'm using a google account that has the [email protected] that matches the organization's domain and I have been invited to the project.

我的google账户还需要什么才能被视为 "组织 "的一部分?

google-adwords
1个回答
1
投票

你正在使用的谷歌账户可能是一个 "消费者账户",即使它有相同的@domain.com作为组织,你正在尝试使用。

您需要您的 IT 管理员按照以下过程将消费者帐户迁移到组织的 Google 云帐户上 此处.

您将收到一封名为 "谷歌账户转移请求 "的邮件,提示您授权转移。

Goole account transfer request

© www.soinside.com 2019 - 2024. All rights reserved.