# Problemas con SameSite en Django (3.0)

**URL:** <https://pyar.discourse.group/t/problemas-con-samesite-en-django-3-0/223>\
**Category:** Sin categoría\
**Created:** [16 Abril, 2020 18:13 UTC](https://pyar.discourse.group/t/problemas-con-samesite-en-django-3-0/223 "2020-04-16T18:13:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyth](https://yyz2.discourse-cdn.com/free1/user_avatar/pyar.discourse.group/pyth/32/126_2.png) [@pyth](https://pyar.discourse.group/u/pyth)\
**Post date:** [16 Abril, 2020 18:13 UTC](https://pyar.discourse.group/t/problemas-con-samesite-en-django-3-0/223/1 "2020-04-16T18:13:59Z")

</div>

Buenas, tengo un problema respecto al manejo de cookies. Estoy embebiendo tweets y tira el error de SameSite. Esto claramente me ocurre en Chrome (y creo que en Safari, no puedo testear ahí). En Firefox anda bien, ningún problema. Los tweets se muetran en todos los navegadores pero solo en Firefox sigue funcionando el código js que me permite cambiar el orden de los mismos.  
No sé si se debe al nuevo manejo de cookies que implementó Chrome, o a qué.

En settings.py tengo seteado:  
SESSION\_COOKIE\_SAMESITE = None  
CSRF\_COOKIE\_SAMESITE = None  
SESSION\_COOKIE\_SECURE = True  
CSRF\_COOKIE\_SECURE = True

También me tope con está solución [https://community.shopify.com/c/Shopify-APIs-SDKs/SameSite-Cookie-with-Python-Django-and-the-Embedded-App-SDK/m-p/660233/highlight/true#M44775](https://community.shopify.com/c/Shopify-APIs-SDKs/SameSite-Cookie-with-Python-Django-and-the-Embedded-App-SDK/m-p/660233/highlight/true#M44775), pero no me funciona

Probe también la librería [https://pypi.org/project/django-cookies-samesite/](https://pypi.org/project/django-cookies-samesite/) pero no obtuve resultados. De hecho me decía que el proyecto ya tiene soporte en Samsite y me obligaba a quitarla del middleware.
