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

59
Vistas
Return to requested url after login

I am making React App in which msal-browser has been integrated for login.

Steps to reproduce:

-> Enter url in browser like https://example.com/profile

-> User is not logged in yet, so the user will be redirected to login page and upon clicking login button, user will be redirected to https://login.microsoftonline.com/ .

-> Entered user credentials and once the login is successful, user was redirected to https://example.com/home post login.

Expectation:

-> But the user is expected to redirect back to the original/requested url which is https://example.com/profile.

Things tried:

I have tried configuring the auth like,

  auth: {
    clientId: clientId,
    authority: authority,
    redirectUri: redirectUri,
    navigateToLoginRequestUrl : true
  },

Thought navigateToLoginRequestUrl will do the trick but unfortunately it doesn't. Anyone here could able to help and get out of this blocker I am facing? Big thanks in advance.

about 4 years ago · Juan Pablo Isaza
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