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

139
Views
How to share authentication across multiple web apps from the clientside using React/Javascript?

I am currently implementing a react application where there is the main application where the authentication takes place and then there is a sub-application that has a different URL and gets opened in a separate window based on user selection and the user should be validated as logged in if the authentication already happened in the main app. If the user tries to directly access the sub app from the URL , they should be redirected to the main login if the user is not authenticated from the main app. How can this be done? Is there any way to share the loggedIn info to the sub app also in some way?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

you should implement a Single sign-on (SSO). It's an authentication scheme that allows a user to log in with a single token to several systems. You can implement such system via OpenId Connect.

about 4 years ago · Juan Pablo Isaza Report

0

In the login you can create a JWT token (https://jwt.io/) to send in the header, and in the other websites you can check it.

You can check the signature and the content with the required data.

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!