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

168
Views
JWT mobile and web login with different tokens

We have two client side application

1.Web app(Single page application).

2.Mobile (android and ios)

Both clients are powered by REST api (Express js) with JWT authentication.

My question about being login process.

1.When the user is logged in from mobile we return the JWT token for further api requests.

2.When user logged in from the web (already logged in mobile and issued a token) older token is replaced with new JWT token. So the problem is mobile login is invalidated because we uses the same JWT token for both (web and mobile)

How to keep track the separate logins for web and mobile in JWT.

about 4 years ago · Santiago Trujillo
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!