保存同意屏幕时服务器错误 [英] Server Error on saving Consent Screen

查看:27
本文介绍了保存同意屏幕时服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将电子邮件和/或回调 URL 放入设置中,我将无法保存我的同意屏幕设置.如果我只输入产品名称,那么我可以,但这当然会导致我的应用程序失败.我使用它只是为了允许通过 Drupal 中的混合身份验证模块登录 Google.我在尝试通过谷歌登录时遇到的错误是:

I am unable to save my consent screen settings if I put an email and/or a callback url into the settings. If I enter only product name, then I can, but of course this causes my app to fail. I'm using this simply to allow login with Google via Hybrid Auth module in Drupal. The Error I get on attempted login via google is:

Error: invalid_client
no support email

Request Details
cookie_policy_enforce=false
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code
redirect_uri=http://www.edgeblog.info/hybridauth/endpoint?hauth.done=Google
access_type=offline
display=page
client_id=506273445956-2d25vc5ggq828h9gk0c910i4csbv52as.apps.googleusercontent.co

我在使用其他社交网站时没有遇到任何问题.

I have had no trouble getting this to work with other social networking sites.

Google 帮助还说我可以更改我的主要电子邮件,但我不能.也许这就是问题的一部分.

Also Google help says I can change my primary email, but I cannot. Perhaps that is part of the issue.

对于这种保存同意屏幕的情况,是否有有效的解决方法?

Is there a working fix for this situation of saving the consent screen?

谢谢

推荐答案

问题是 Google Cloud 控制台似乎无法识别您帐户的电子邮件.您应该尝试更改与项目关联的主电子邮件地址:

The issue is that the Google Cloud console does not seem to be able to identify your account's email. You should try changing the primary email associated with the project:

更改与项目关联的主要电子邮件

change the primary email associated with the project

为了更改与您的项目关联的电子邮件,您必须首先添加另一个帐户,该帐户将您要设置为所有者的主要电子邮件的电子邮件.这在权限 > 添加成员中设置.在您将其他用户添加到权限后,他们必须访问项目才能将他们的电子邮件设置为项目的电子邮件地址.

In order to change the email associated with your project, you must first add another account with the email you want set as the primary email to your owners. This is set in Permissions > Add Member. After you have added another user to the permissions, they must then access the project in order to set their email as the project's email address.

希望更改电子邮件地址可以解决您的问题.

Hopefully changing the email address will fix your issue.

正如您所提到的,您只能将电子邮件地址设置为与当前登录用户相关联的电子邮件地址.在您的情况下,当您添加 iCloud 电子邮件地址并回复电子邮件时,Google 检测到您登录的人已确定它与已与该项目关联的帐户相同.

As you mentioned, you can only set the email address to one associated with the currently signed in user. In your case, when you added your iCloud email address and responded to the email, Google detected who you were signed in as identified that it was the same account that was already associated with the project.

您必须添加一个额外的 (Google) 帐户才能添加协作者并更改关联的电子邮件地址.

You must add an additional (Google) account in order to add a collaborator and change the associated email address.

最后要检查的是,是否在同意屏幕页面的顶部设置了电子邮件地址.这是您可以在表单中设置的第一个项目,是一个下拉菜单.

A final thing to check is that an email address is set in the top of the consent screen page. This is the first item you can set in the form and is a drop down.

最后,如果一切都失败了,您可以尝试从 经典的 Google API 控制台.

Finally, if all else fails, you can try configuring your project from the classic Google APIs console.

这篇关于保存同意屏幕时服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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