Social Login

Log in with your social media accounts!

Back to Social Login Support

edmqaa3524
edmqaa3524

How can I solve this? It's hapenning right after a login tentative. The URL is stuck here http://localhost/flynsarmy/sociallogin/Facebook#_=_

ERROR We're sorry, but an unhandled error occurred. Please see the details below. The login field is required. /vagrant/laravel/vendor/october/rain/src/Database/Traits/Validation.php line 166 TYPE Undefined EXCEPTION October\Rain\Database\ModelException

Thanks

Last updated

Flynsarmy
Flynsarmy

I've released an update to hopefully fix this. The issue was caused by a recent update to RainLab.User adding a required 'login' field.

edmqaa3524
edmqaa3524

Thank you very much for the quick answer and hotfix, that's awesome! I just had to create an additional column (varchar text) in the users table. Maybe it can be added to the plugin's migration? Thanks!

Flynsarmy
Flynsarmy

You should already have had that field if you're up to date on the user plugin... here's their migration. It comes in v1.0.11.

edmqaa3524
edmqaa3524

Thank you! Also, what might be the easiest to add a field to the user table through the social login? My goal is to retrieve the user id (using the hybrid auth) and save it into the user table to use it after with the FB Php SDK. To get user's info or friends for example.

edmqaa3524
edmqaa3524

My previous question is solved. Db id field added to the User model (Rainlab) and into the Facebook social provider model (Flynsarmy).

Next objective is to make the email activation working...! (Social login + Rainlab user activation)

1-6 of 6