Skip to content

Authentication to Google endpoint V2 return 400 error #39

@dpenezic

Description

@dpenezic

Hi,

we discover yesterday that authentication against Google endpoint v2 doesnt work any more returning error good describe in follow URL :
https://www.drupal.org/project/social_auth_google/issues/3129494
Aditionaly to link on developer.google.com, I found also
https://community.boomi.com/s/article/oauth2refreshtokenonlyworksforanhouringoogleintegration
After some search we found code which is responsible for generating that parameter (a module you use )
{ "name": "league/oauth2-client", "version": "2.4.1", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-client.git", "reference": "cc114abc622a53af969e8664722e84ca36257530" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/cc114abc622a53af969e8664722e84ca36257530", "reference": "cc114abc622a53af969e8664722e84ca36257530", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^6.0", "paragonie/random_compat": "^1|^2|^9.99", "php": "^5.6|^7.0" }, "require-dev": { "eloquent/liberator": "^2.0", "eloquent/phony-phpunit": "^1.0|^3.0", "jakub-onderka/php-parallel-lint": "^0.9.2", "phpunit/phpunit": "^5.7|^6.0", "squizlabs/php_codesniffer": "^2.3|^3.0" }, "type": "library", "extra": { "branch-alias": { "dev-2.x": "2.0.x-dev" } }, "autoload": { "psr-4": { "League\\OAuth2\\Client\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Alex Bilbie", "role": "Developer", "email": "hello@alexbilbie.com", "homepage": "http://www.alexbilbie.com" }, { "name": "Woody Gilk", "role": "Contributor", "homepage": "https://github.com/shadowhand" } ], "description": "OAuth 2.0 Client Library", "keywords": [ "Authentication", "SSO", "authorization", "identity", "idp", "oauth", "oauth2", "single sign on" ], "time": "2018-11-22T18:33:57+00:00" },

And I also submit issue to that project
thephpleague/oauth2-client#832 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions