错误:invalid_client 没有应用程序名称 [英] Error: invalid_client no application name
问题描述
我正在为我的应用程序使用 Google Apps API,并尝试使用 OAuth2 对其进行授权.我使用 Google API 控制台在其中创建了一个项目和一个应用程序.我正在使用以下 URL 进行授权:
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)
我收到以下错误,
Error: invalid_client
no application name
Request Details
我已经验证了 clientid 甚至 admin SDK 的状态.
I have verified the clientid and even the status of admin SDK.
推荐答案
如果在APIs & auth"->Consent screen"下您有空字段PRODUCT NAME",则会显示该错误-您需要选择电子邮件地址也是如此.
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.
您可以在链接下找到同意屏幕"!点击项目名称,然后转到APIs & auth" -> "同意屏幕".
You can find "Consent screen" under a link!, click on project name and then go to "APIs & auth" -> "Consent screen".
这篇关于错误:invalid_client 没有应用程序名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!