jotes / django-cookies-samesite

This repository contains a middleware which automatically sets SameSite attribute for session and csrf cookies in legacy versions of Django.
BSD 3-Clause "New" or "Revised" License
49 stars 35 forks source link

DCS_CSRF_COOKIE_SECURE doesnt work #49

Closed oscars17 closed 3 years ago

oscars17 commented 3 years ago

Description

DCS_CSRF_COOKIE_SECURE = True DCS_CSRF_COOKIE_SAMESITE = 'None' doesnt work Screenshot from 2021-04-29 17-31-32

oscars17 commented 3 years ago

DCS_SESSION_COOKIE_SECURE = True DCS_SESSION_COOKIE_SAMESITE = 'None' DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True

doesnt work as well

oscars17 commented 3 years ago

its ok now sry

caryyu commented 2 years ago

DCS_SESSION_COOKIE_SECURE = True DCS_SESSION_COOKIE_SAMESITE = 'None' DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True

doesnt work as well

I don't think this library already supports these settings, from the source code, I only see it is working unless enabling the ssl.