Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

214
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda