Login with Facebook and Google using ReactJS and RESTful APIs 