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

178
Vistas
How to Prompt user to Select LinkedIn account of Choice in OAuth

I'm trying to authenticate a LinkedIn user via Oauth.

Now, if the user has a single LinkedIn account, everything works fine.

However if there are multiple accounts, LinkedIn is always sending me back the first account. There is no way for the user to choose the account he wants.

I tried adding a prompt parameter to the authorization url as below but no success.

Here is what I tried:

const url = `https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=${clientId}&redirect_uri=${encodeURIComponent(callbackURL)}&state=${encodeURIComponent(state)}&scope=${encodeURIComponent(scopes)}&prompt=consent`; //Observe the prompt parameter at the end of the url which I added but still it didn't allow the user to choose an account

Any ideas on resolving this would be truly appreciated.

Thanks.

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