Google Authentication not Working
Using Gibbon v18.0.00.34 (Cutting Edge Code = 34)
GIT 98a9e379ec4abfd4c372b9e09cccd584966d749e
Google Authentication fails with a truncated Login Form.
Source of Result is attached

Image of the result.

Image of Setup in Gibbon.
GIT 98a9e379ec4abfd4c372b9e09cccd584966d749e
Google Authentication fails with a truncated Login Form.
Source of Result is attached

Image of the result.

Image of Setup in Gibbon.
Comments
We registered an issue with this a month or so ago, which was related to the shuttering of Google Plus and related APIs. We made changes to Gibbon to switch away from this to the replacement API. These changes are live in v18. At this time I can't recreate the issue you are having, and so I wonder if you are using an older commit of v18, or perhaps have some different settings in Gibbon, but from your post it sounds not.
Can you confirm in /lib/Google/index.php what your scopes are set to on line 36. You should see:
$client->setScopes(array('email',
'profile',
'https://www.googleapis.com/auth/calendar')); // set scope during user login
Cheers,
Ross
I am facing the same issue on v18.0.01.
Is there a fix for this?
I replaced my index.php file with the one listed on https://github.com/GibbonEdu/core/blob/v18.0.00/lib/google/index.php and that seems to work for me.
School Google Calendar ID *
Google Calendar ID for your school calendar. Only enables timetable integration when logging in via Google.
Turns out, it was just a minor typo error on my part. Upon checking the google integration page at gibbon, i was pretty sure i got the values correct.
I got a feeling that It maybe caused by the redirect url. So i checked it from my google credentials and see to it that the value is the same as the one i placed at gibbon interface.
As it turns out, there was a typo error on http://domain/lib/google/index.php. There was a trailing end "." this happened as i copied it from the documentation page and hqve overlooked copying the period too.
I can see that you are without an SSL certificate as it shows the connection is not secure. However, you must be able to at least successfully authenticate provided that:
1. the values for google integration in the gibbon interface are correct. (based on my experience this is sensitive between http:// and https://) make sure you put http:// if you dont have SSL certificate and with https:// if you have.
2. the values in no. 1, should reflect in your google credentials.
3. you should have activated the google calendar api.
4. the value in the db gibbonsetting absolute url should be
"http://www.domain.com/yourgibbondirectory" or "https://www.domain.com/yourgibbondirectory" for with SSL certificate and not
"https://domain.com/yourgibbondirectory" or "https://domain.com/yourgibbondirectory" unless of course if you have a redirect setup in your htaccess
I also went into Google and made the credentials from scratch again but no luck.
If you are still having the issues, are you able to check your PHP and Google logs to see if anything relevant is being recorded there?
Cheers,
Ross