Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

272
Vistas
React + Spring Boot - universall-cookies , httpOnly cookie cannot be set

i use universall-cookies to store my cookies,

in my backend i generate an JWT Token which is httpOnly, i do receive it in my frontend, but now, comes my problem,

i do get the data "withCredentials", but when ever i want to set the cookie as:

cookies.set(Constants.AUTH_COOKIE, response.data.access_token,
        { httpOnly: true });

i wont bet set, if i remove the "httpOnly" it does get set...,

so i cant find the problem here, i receive an httpOnly cookie from my backend, but i cant set it under Cookies, would appreciate any help!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda