Gabotronix's avatar

firebase auth/social login with laravel user models in React Native

Hi everybody, I'm working on a react-native app where the backend is done in laravel, at first I am using Sanctum for protecting my api routes.

However, I have decided I want to have my users being able to register with their facebook/google accounts, and for this I came up with firebase for react-native, it has both email and social login sdks and much more.

But I'm so confused, how can i let my users register/login with firebase social/email logins and link them with the users in my laravel/mysql database?

Can anyone shed some light on me?

0 likes
1 reply
frato92's avatar

Hi Gabotronix,

I need to do the same thing you described in the post from 3 years ago. I tried to search for some solutions online but found very little. Could you tell me how you integrated Google/Facebook login into a React Native application with a Laravel backend?

Please or to participate in this conversation.