Skip to Content Skip to Menu

CB Connect - Google API

  • GUEST
9 years 10 months ago #255525 by
CB Connect - Google API was created by
I have CB 2.0.4 with CB Connect 6.0.4. The login to Facebook and LinkedIn works great.

When I configure Google, but get the following error message:

Error: invalid_client

The OAuth client was not found.

Request Details
scope=https://www.googleapis.com/auth/plus.login www.googleapis.com/auth/plus.profile.emails.read
response_type=code
access_type=offline
redirect_uri=http://cutmyco2.org/Shape5/components/com_comprofiler/plugin/user/plug_cbconnect/endpoint.php?hauth.done=Google
client_id=855794373738-5em5fduj2o9bhfrf40m518jue3ssh6vk.apps.googleusercontent.com

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255653 by krileon
Replied by krileon on topic CB Connect - Google API
Both Client ID and Client Secret need to be properly configured. Please see the below HybridAuth configuration page for details.

hybridauth.sourceforge.net/userguide/IDProvider_info_Google.html

You can also check out the below tutorial, but it's out of date.

www.joomlapolis.com/support/tutorials/99-plugins/18369-cb-connect-how-to-configure-google


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • GUEST
9 years 10 months ago #255744 by
Replied by on topic CB Connect - Google API
I registered a brand-new account at Google, created a new project and a new Oauth client ID and secret. I also enabled the Google+ API. I tested this on three different browsers with cleared cache and still get the same response.

Please update the guide to match the new screens at Google to avoid any other confusion.

If anybody has a successful cbcobnnect to Google, please let me know.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255789 by krileon
Replied by krileon on topic CB Connect - Google API
The tutorials will be updated when possible. Right now our priority is getting the remaining plugins upgraded. Until those are done there will not be new tutorials. The HybridAuth page walks you through the configuration with screenshots. The CB Connect backend provides you with your Callback URL to be supplied to your application.

I'm unable to confirm your issue and am able to register/login perfectly fine with Google. Your issue is directly caused by misconfiguration. Your Client ID and/or Client Secret are not properly supplied to CB Connect or are invalid, which is what Google is telling you on their landing page.

You can generate API access from Googles API Console found below.

console.developers.google.com/

Your credentials are supplied and configured under APIs & auth > Credentials. When copying over the client id you need to copy the entire thing (including the .com). Example as follows.

Client ID: ##########.apps.googleusercontent.com
Client Secret: ASDASDASD_ASDASDASD

If you double click Client ID and try to copy and paste it's going to be invalid as double click won't select the entire string due to the period. The below is what you should see on the Credentials page.



Unfortunately it's just not possible to make this configuration any easier. The social sites do not provide a way to automate this configuration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum