错误:invalid_client没有应用程序名称 [英] Error: invalid_client no application name
问题描述
我为我的应用程序使用Google Apps API,并尝试使用OAuth2对其进行授权。我使用Google API控制台创建了一个项目和一个应用程序。我使用以下网址进行授权:
I am using Google Apps API for my application and trying to authorize it using OAuth2. I have created a project and an application within it using the Google API console. I am using the following URL for authorization:
https://accounts.google.com/o/oauth2/auth&scope=https://www.googleapis.com/auth/admin.directory.user&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=(my application clientid)
我得到以下错误:
I get the following error,
Error: invalid_client
no application name
Request Details
验证了admin SDK的状态,甚至是状态。
I have verified the clientid and even the status of admin SDK.
推荐答案
如果在APIs& auth - >同意屏幕您有空的字段产品名称 - 您还需要选择电子邮件地址。
That error is displayed in case that under "APIs & auth" -> "Consent screen" you have empty field "PRODUCT NAME" - you need to select e-mail address as well.
您可以在<一个href =https://console.developers.google.com/project>一个链接!,点击项目名称,然后转到APIs&授权 - >同意屏幕。
You can find "Consent screen" under a link!, click on project name and then go to "APIs & auth" -> "Consent screen".
这篇关于错误:invalid_client没有应用程序名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!