Osclass Support Forums

Osclass plugin support => Authenticate Osclass Social Login Plugin => Topic started by: Emidelro on April 06, 2022, 06:27:23 AM

Title: Problem with Google Login Plugin
Post by: Emidelro on April 06, 2022, 06:27:23 AM
Hello. I'm having a problem with the Google Login Plugin and I still can't determine the reason. Everything was working perfectly, and from one day to the next this problem started. I've been searching all over Google and I can't fix it.

(https://i.ibb.co/PF7hGQL/error.png)

Error message:
"There was problem getting access token from google, login has failed. Following errors were returned: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."

I tried regenerating the token from the Google Cloud Console and the problem persists.

Can anyone know the reason for this? I appreciate any suggestion in advance.
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on April 06, 2022, 01:38:45 PM
@Emidelro
This looks like issue with your app setup or incorrect credentials are put into plugin configuration.
Title: Re: Problem with Google Login Plugin
Post by: Emidelro on April 06, 2022, 02:08:11 PM
Hello, thanks for the answer.
That was the first thing I thought. But I checked the credentials and they are correct. I also tried generating new credentials, but the problem continues.
Everything was working perfectly, and from one moment to another the failure began. But I have not changed anything regarding the plugin code or credentials.
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on April 06, 2022, 04:39:19 PM
@Emidelro
That would need to be checked by google support as well.
I did test right now and everything is working OK.
Title: Re: Problem with Google Login Plugin
Post by: Emidelro on April 06, 2022, 05:16:39 PM
Yes, I will do that. Thank you very much for the answers.

Greetings.
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on April 06, 2022, 05:25:22 PM
Was it solved?  :o
Title: Re: Problem with Google Login Plugin
Post by: Emidelro on April 06, 2022, 07:01:04 PM
Not yet, I've exhausted all possibilities. I'll see if I can get support from Google, as the problem is quite strange (credentials are correct).
Title: Re: Problem with Google Login Plugin
Post by: Emidelro on April 07, 2022, 06:22:54 AM
Query: if I uninstall the plugin (and then reinstall it), will this procedure also delete the data from the DB?
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on April 08, 2022, 01:18:56 PM
uninstallation should drop also parameters (settings) of plugin from database.
Title: Re: Problem with Google Login Plugin
Post by: Alealto on January 23, 2023, 08:47:48 PM
Hi Emidelro, i have the same problem, did you find a solution?

Thank you
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on January 24, 2023, 08:44:01 AM
Check this. Problem is same, you have not configured Keys properly.
https://www.codexworld.com/login-with-google-api-using-php/
Title: Re: Problem with Google Login Plugin
Post by: Alealto on January 24, 2023, 12:02:23 PM
Thanks for the reply.
I followed the step by step guide, but it didn't solve the problem.
Token is correct. Could this be a friendly url problem?

Thanks
Title: Re: Problem with Google Login Plugin
Post by: MB Themes on January 24, 2023, 02:29:40 PM
How you followed?
Here are some details