What would be the correct way to also include social login like facebook or google?
I'm thinking creating a cloud function that runs whenever a new user is created that communicates with our server to add user to db, and then add the auth().signInWithPopup(prvider) function on the frontend.
However I'm not entirely sure since I'm kind of new to firebase and never really thought to integrate firebase auth on a separate server.
Would this be the correct way to go about implementing this?
What would be the correct way to also include social login like facebook or google?
I'm thinking creating a cloud function that runs whenever a new user is created that communicates with our server to add user to db, and then add the auth().signInWithPopup(prvider) function on the frontend.
However I'm not entirely sure since I'm kind of new to firebase and never really thought to integrate firebase auth on a separate server.
Would this be the correct way to go about implementing this?
I want to implement the same.
Did you successfully implemented it?