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

133
Visualizações
I set a cookie as secure from mi NodeJS API but I can not access the cookie even if my API and Front APP are in HTTPS

I have an API that send a cookie to the React front APP, but when I try to access the cookie from React I can not access, my two domains are HTTPS, the API is deployed on Heroku and the React APP is deployed on Firebase hosting.

This is the cookie I send from the API

res.cookie("isLogged", true, {
        httpOnly: false,
        sameSite: "none",
        secure: true,
        maxAge: 24 * 60 * 60 * 1000,
    })
    .status(200)
    .send();

The cookie is set on my react app but I can not access it through JS, not even on the console using: document.cookie

Thanks 💜

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