Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: invalid_client with Google Apps API OAuth2

I am using Google Apps API for my application with OAuth2. ,but I get an error.

Error: invalid_client

no support email

Request Details That’s all we know.

like image 875
user3655256 Avatar asked Feb 13 '26 01:02

user3655256


2 Answers

If you create OAuth credentials BEFORE you set the support email address in the consent screen, then it appears that you will always get this error, even after setting the support email.

I resolved this by setting the support email, and then recreating all necessary OAuth ids in the credentials page.

like image 149
ajmccall Avatar answered Feb 16 '26 03:02

ajmccall


In the Google Developer console make sure that you have added a product name and an email address under. Apps & auths -> consent screen.

enter image description here

Update: This shouldn't be to much of a problem anymore. Google made a change in the console that wont let you save anything until you have updated these items.

like image 24
DaImTo Avatar answered Feb 16 '26 02:02

DaImTo