Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google oauth error invalid_client no support email

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

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: no support email Error 400

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

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

like image 359
jerik Avatar asked Nov 22 '13 10:11

jerik


People also ask

How do I fix OAuth error?

When a user tries to login after the session id is expired, the system throws the OAuth error. Solution: Typically, clearing the browser or device cache fixes the problem.


1 Answers

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

  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

like image 68
janos Avatar answered Oct 11 '22 11:10

janos