vendredi 4 août 2017

(1/1) InvalidStateException in AbstractProvider.php (line 209)

I have been looking at all the answers related to this exceptions, but none of them has got me to a solution. I have followed the http://ift.tt/1kNinWg to create a google login for my laravel application. The user gets logged in, but on page refresh, I get the error (1/1) InvalidStateException in AbstractProvider.php (line 209). I have been stuck for a week. Any help will be highly appreciated.



via Chebli Mohamed

1 commentaire:

  1. After a long search, the solution is to remove the 'profile' from scopes in vendor\laravel\socialite\src\Two\GoogleProvider.php

    protected $scopes = [
    'openid',
    'email',
    ];

    RépondreSupprimer