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

114
Views
Need help redirecting with a bearer token

I'm trying to redirect from one webpage to another, but the other webpage is on a separate domain. Our two companies have a business relationship and I'd like to use their auth bearer token in the redirected http request for authentication with my backend service.

How do I do that? AFAIK, you can't set the header in elements, nor can you set them with window.open or window.location. I would need a way to effectively redirect from the affiliate website to my own, while passing the bearer token because I plan to use that token for authentication within the backend services that my website will call. I don't think I can use a cookie because cookies aren't cross domain.

How would I accomplish this?

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