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.

Comments

  • Hi Craig,

    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
  • Line 36
    $client->setScopes(array('email',
        'profile',
        'https://www.googleapis.com/auth/calendar')); // set scope during user login
    So, I did a little research and you can duplicate the issues by deleting the RefreshToken from your user account. Failure to login by Google is then 100%. A change in the API I would think. Enjoy!
Sign In or Register to comment.