Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

241
Visualizações
Verify the user logged in with Facebook on the server

I have implemented react-facebook-login in React. I am getting the user info in react from Facebook. Now I want to register the user on the server with the user info. But I can't send this data directly from the front to the backend because I won't know if the data is actually from Facebook or the user has played with it. I mean that we can't trust the data like this. How I will know on the server that the data is from Facebook. Is there any event, a callback or trigger on the Facebook side for this whenever a user tries to login with Facebook? Like a url on my server that should be called with the info?

<ReactFacebookLogin
appId="myappid"
fields="name,email,picture"
onClick={reactFBClick}
callback={responseFacebook} />

I also checked it with these two props but nothing seems working.

redirectUri='myurl'
redirectIfAuthenticated={true}

Help will be appreciated greatly. Thanks!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda