Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github bad_verification_code #191

Closed
wozzup opened this issue Dec 28, 2014 · 2 comments
Closed

github bad_verification_code #191

wozzup opened this issue Dec 28, 2014 · 2 comments

Comments

@wozzup
Copy link

wozzup commented Dec 28, 2014

Github return error:

Fatal error: Uncaught bad_verification_code: bad_verification_code 
thrown in /vendor/league/oauth2-client/src/Provider/AbstractProvider.php on line 211
@wozzup
Copy link
Author

wozzup commented Dec 28, 2014

Vkontakte return error:

PHP Fatal error:  Uncaught invalid_grant: invalid_grant
thrown in /vendor/league/oauth2-client/src/Provider/AbstractProvider.php on line 211

@wozzup
Copy link
Author

wozzup commented Dec 28, 2014

comment out this line:

    // If you are using Eventbrite you will need to add the grant_type parameter (see below)
    // $token = $provider->getAccessToken('authorization_code', [
        // 'code' => $_GET['code'],
        // 'grant_type' => 'authorization_code'
    // ]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant