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

218
Vistas
javascript - oAuth: How to redirect user back to application?

I am new to javascript. I'm creating a login webpage with auth0, if the user enters the correct id/password the auth0 login API will redirect them back to the application, they are calling from based on their redirect URL.

I want to add a feature where if they don't accept terms and conditions, they would be redirected back to the application they are calling from via redirect URL.

Is it possible? I tried to search online but could not find any proper documentation. can anyone please advise?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

shouldn't there be any param in the URL when they get directed to your application? i think there should be a param in the URL that you can use to redirect them back.

about 4 years ago · Juan Pablo Isaza Denunciar

0

I found the solution, I had to user callback URLs with the error message.

Solution for this in Vue.js

<a v-on:click="f1()">..</a>

 f1: function() {
       window.location.href = "myapp://callback?error=MyCustoomrErrorMessage";
    },
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