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

94
Views
Cookies disappear after reload the page
response.set_cookie(key=SIMPLE_JWT.get('REFRESH_AUTH_COOKIE'), value=response.data.get('refresh'),
            expires=datetime.now()+SIMPLE_JWT.get('REFRESH_TOKEN_LIFETIME'), samesite='None',
            secure=SIMPLE_JWT.get('AUTH_COOKIE_SECURE'), httponly=SIMPLE_JWT.get('AUTH_COOKIE_HTTP_ONLY'))

I'am using Django Rest Framework to set the JWT Refresh cookie, until this point everything is ok, but when I reload the page the cookie just disappear so I can't retrieve the value any more by JS, but when I send a new request the cookie appears in the Django log. So, I don't know what is happening because the cookie is set in the browser, but in a way that I can't retrieve

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!