andreich1980's avatar

Social login: many accounts from the same provider

Is it possible/What is the easiest way(a package) to let user connect many social accounts of the same provider?

One user can connect many, say, twitter accounts. And the user can sign in with any of these connected twitter accounts.

I found an article https://scotch.io/tutorials/laravel-social-authentication-with-socialite and I guess I know how to make it work as I want. But I wonder are there any packages for this? Don't want to invent a bicycle.

0 likes
3 replies
SaquibRizwan's avatar

There are many different sites and packages which you can integrate on your site to provide social login functionality. Laravel has released its own package name Socialite which you can use in your projects. Currently socialite support following social logins:

Facebook Twitter LinkedIn Github Google Bitbucket

As stated in the following article: http://www.cloudways.com/blog/social-login-in-laravel-using-socialite/

1 like
andreich1980's avatar

@SaquibRizwan thanks for the article. Where it stores user tokens (or what?)? I don't see any migrations in laravel/socialite package. Or does it just store token in a session?

Please or to participate in this conversation.