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

Google stop working, Invalid_Grant #70

Closed
amadeuszxd opened this issue Aug 7, 2017 · 1 comment
Closed

Google stop working, Invalid_Grant #70

amadeuszxd opened this issue Aug 7, 2017 · 1 comment

Comments

@amadeuszxd
Copy link

amadeuszxd commented Aug 7, 2017

Hi!
This Library was working great for me, until google send me an error:

Fatal error: Uncaught Overtrue\Socialite\AuthorizeFailedException: Authorize Failed: {"error":"invalid_grant","error_description":"Code was already redeemed."} in /home/sizeme/htdocs/vendor/overtrue/socialite/src/Providers/AbstractProvider.php:418 Stack trace: #0 /home/sizeme/htdocs/vendor/overtrue/socialite/src/Providers/GoogleProvider.php(75): Overtrue\Socialite\Providers\AbstractProvider->parseAccessToken(Array) #1 /home/sizeme/htdocs/vendor/overtrue/socialite/src/Providers/AbstractProvider.php(180): Overtrue\Socialite\Providers\GoogleProvider->getAccessToken('4') #2 /home/sizeme/htdocs/app/Controller/account.php(227): Overtrue\Socialite\Providers\AbstractProvider->user() #3 [internal function]: Controller\accountController->authorize() #4 /home/sizeme/htdocs/vendor/dframe/dframe/src/Router.php(90): call_user_func_array(Array, Array) #5 /home/sizeme/htdocs/vendor/dframe/dframe/src/Core.php(17): Dframe\Router->run() #6 /home/sizeme/htdocs/web/index.php(14): Dframe\Core->run() #7 {main} thrown in /home/sizeme/htdocs/vendor/overtrue/socialite/src/Providers/AbstractProvider.php on line 418`

I don't know if I make a mistake.
Any solutions?

@edit
Sorry my framework mistake...

@andwiseb
Copy link

how did you solve it?

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

2 participants