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

113
Visualizações
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
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