enupal / socializer

Enables users to login to your website through more than 35 social networks.
Other
7 stars 4 forks source link

Exception when `getProvidersByHandle` is called #34

Closed daltonrooney closed 2 years ago

daltonrooney commented 2 years ago

Trying a Google login and getting an exception on the callback:

enupal\socializer\services\Providers::getProviderByHandle(): Argument #1 ($handle) must be of type string, null given, called in /home/raygun/webapps/craft/vendor/enupal/socializer/src/controllers/LoginController.php on line 103

Did I miss some configuration here?

Info: PHP 8.0.2 Craft CMS 3.7.44 Enupal Socializer 1.2.0

daltonrooney commented 2 years ago

This was a cross-domain issue, the login form was on a subdomain and the callback was on the parent domain.