google oauth错误invalid_client不支持电子邮件 [英] google oauth error invalid_client no support email

查看:87
本文介绍了google oauth错误invalid_client不支持电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试按照 Google OAuth2ForDevices 实施google oauth。

I try to implement google oauth, following the Google OAuth2ForDevices.

我的应用程序在Google Cloud Console上注册为本地应用程序。当我尝试使用Google Chromes-Advanced Rest Client Application跟踪OAuth2ForDevices时,得到了带有user_code和verfication_url的json响应。打开verfication_url并输入user_code,将导致以下错误:

My App is registered on Google Cloud Console, as native App. When I try to follow the OAuth2ForDevices using Google Chromes - Advanced Rest Client Application, I get the json response with the user_code and verfication_url. Opening the verfication_url and enterering the user_code, leads to the follwoing Error:


invalid_client:不支持电子邮件
错误400

invalid_client: no support email Error 400

我在Google Cloud Console上使用2个注册的应用程序尝试了此操作。两者都导致相同的错误。

I tried this with 2 registred Apps on Google Cloud Console. Both leading to the same error.

提示,如何解决?我必须在Google云服务的某处注册支持电子邮件吗?

Anys hints, how to solve this? Do I have to register a support email somewhere in google cloud services?

推荐答案

如果您未在同意屏幕上设置电子邮件地址,似乎会发生这种情况。

It seems this can happen if you did not set an EMAIL ADDRESS on the Consent screen.


  1. 转到您的 Google云控制台

  2. 打开您的项目

  3. 单击 APIs& auth

  4. 单击同意屏幕,然后设置电子邮件地址

  5. 按照@ajmccall的回答,删除并重新创建客户端ID

  1. Go to your Google Cloud Console
  2. Open your project
  3. Click APIs & auth
  4. Click Consent screen, and set EMAIL ADDRESS
  5. As per @ajmccall's answer, delete and recreate the client ID

这似乎对其他人有所帮助,但现在没有帮助我。当我设置电子邮件地址并单击保存时,会弹出错误:

This seems to have helped others, right now it does not help me. When I set an email address and click Save an error pops up:


糟糕!我们的情况不好。

Whoops! Our bad.

请重试。如果问题仍然存在,请使用发送反馈下方链接。复制下面的跟踪编号,并将其包含在您的反馈中。谢谢!

Please try again. If the problem persists, please let us know using the "Send feedback" link below. Copy the tracking number below, and include it with your feedback. Thanks!

这篇文章似乎是关于相同的问题:

This post seems to be about the same problem:

https://groups.google.com/forum/#!topic/google-doubleclick -for-publishers-api / 6savNh4PBBI

这篇关于google oauth错误invalid_client不支持电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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