Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!