ahopkins / sanic-jwt

Authentication, JWT, and permission scoping for Sanic
http://sanic-jwt.readthedocs.io
MIT License
242 stars 52 forks source link

DeprecationWarning: Setting values on a Cookie object as a dict has been deprecated. #254

Open Pirulax opened 5 months ago

Pirulax commented 5 months ago

I get the following warning (presumably) when using the /auth endpoint:

DeprecationWarning: [DEPRECATION v24.3] Setting values on a Cookie object as a dict has been deprecated. This feature will be removed in v24.3. You should instead set values on cookies as object properties: cookie.samesite=... 

Packages used:

sanic==23.12.1 
sanic-jwt==1.8.0
sanic-routing==23.12.0