Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!