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

138
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 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