SocialAuth

Social Auth plugin for OctoberCMS by Ceyleon

Back to SocialAuth Support

chris10207
chris10207

Hi,

after setting up everything as per the documentation, i am navigating to the url

and when the callback routes is called i am facing this exception

 Overtrue\Socialite\InvalidStateException in /Users/christophevidal/Sites/oc-eclia/plugins/ceyleon/socialauth/vendor/overtrue/socialite/src/Providers/AbstractProvider.php:189
/plugins/ceyleon/socialauth/routes.php(76): Overtrue\Socialite\Providers\AbstractProvider->user()

from the AbstractProvider.php class, an InvalidStateException is raised.

public function user(AccessTokenInterface $token = null)
    {
        if (is_null($token) && $this->hasInvalidState()) {
            throw new InvalidStateException();
        }

any idea please?

1-1 of 1