DEV Community

Discussion on: Securing your express/Node.js API with Firebase auth

Collapse
 
esanchezvz profile image
Esteban Sánchez

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?

Collapse
 
karansh491 profile image
karansh491

I want to implement the same.
Did you successfully implemented it?