Server Error on saving Consent Screen

妖精的绣舞 提交于 2020-01-14 05:46:08

问题


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.

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?

Thanks


回答1:


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.

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.

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.

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



来源:https://stackoverflow.com/questions/20456465/server-error-on-saving-consent-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!