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

127
Visualizações
React Native - Authentication - Prevent Token / Cookie being stolen / sniffed? #man in the middl #encrypt data? SSL / HTTPS?

Hey Ladys and Gentlemen,

I'm planing on creating my first React Native (mobile) application and can not find a secure and easy solution for the authentication.

So lets assume I make a horse-racing app and at the horse-racing-track (the place where the horses run) the Users can choose a horse to bet on by reading an qr-code with the horse-id.

Then the mobile app sends that data along with a JWT or Session-Cookie to my api.

So the Question: How can I make sure, that someone is not sniffing / stealing that Session-Cookie or Token? Couldn't I just sit in front of the horse-track with my laptop and grab some tokens and do stuff via my API with that?!

Possible Solutions:(?) Encrypting the data from App to API with the UserData (email or pw) ? Might SSL / HTTPS be a solution (encryption)?

I actually wanted to use PassportJS and JWT together in combination to build a auth-server that creates Device/Refresstokens + an Accesstoken.

-> Disclaimer: Horse-Racing is nothing I support in any kind. It's not cool what they do to the horses there..

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