Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

adnanerlansyah403's avatar

if installing the socialite package, should I create a new user table?

Hello everyone, I need tips or suggestions. About when installing the socialite package from Laravel. Should I creating a new user table for every drivers that I have. So for example I want to make authentication integration with Google, and than should create a new table like users_google and etc. Or I just need one table for it like using users table.

Because if I'm not created a new table, I afraid that users table can have the same data.

Thanks everyone 🙏.

0 likes
1 reply
martinbean's avatar

@adnanerlansyah403 You don’t create a new user. You should be associating third-party profiles (i.e. Google) with users in your application.

So I registered user should be able to associate a Google account with their account on your site. Then later when they log in with Google, you can look up the associated user account on your service and authenticate them.

Please or to participate in this conversation.