Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

206
Vistas
Proper way to use JWT Auth in React

I have a php backend which takes mobile and password and returns the user info and an JWT access token if the user is valid, I have a React Web App which makes a request to the API, now should I store the JWT and user info in my local storage? and how do I validate that the JWT token stored is valid so that I can protect my private routes

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

  1. Yes, you should persist JWT token to be used with any other request to server.
  2. Make request to back-end. There auth server will validate JWT signature (if it's signed with certificate)
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda