@@ -356,6 +356,7 @@ def set_refresh_cookies(
356356 domain = domain or config .cookie_domain ,
357357 path = config .refresh_cookie_path ,
358358 samesite = config .cookie_samesite ,
359+ partitioned = config .cookie_partitioned
359360 )
360361
361362 if config .cookie_csrf_protect and config .csrf_in_cookies :
@@ -368,6 +369,7 @@ def set_refresh_cookies(
368369 domain = domain or config .cookie_domain ,
369370 path = config .refresh_csrf_cookie_path ,
370371 samesite = config .cookie_samesite ,
372+ partitioned = config .cookie_partitioned
371373 )
372374
373375
@@ -406,6 +408,7 @@ def unset_access_cookies(response: Response, domain: Optional[str] = None) -> No
406408 domain = domain or config .cookie_domain ,
407409 path = config .access_cookie_path ,
408410 samesite = config .cookie_samesite ,
411+ partitioned = config .cookie_partitioned
409412 )
410413
411414 if config .cookie_csrf_protect and config .csrf_in_cookies :
@@ -418,6 +421,7 @@ def unset_access_cookies(response: Response, domain: Optional[str] = None) -> No
418421 domain = domain or config .cookie_domain ,
419422 path = config .access_csrf_cookie_path ,
420423 samesite = config .cookie_samesite ,
424+ partitioned = config .cookie_partitioned
421425 )
422426
423427
@@ -444,6 +448,7 @@ def unset_refresh_cookies(response: Response, domain: Optional[str] = None) -> N
444448 domain = domain or config .cookie_domain ,
445449 path = config .refresh_cookie_path ,
446450 samesite = config .cookie_samesite ,
451+ partitioned = config .cookie_partitioned
447452 )
448453
449454 if config .cookie_csrf_protect and config .csrf_in_cookies :
@@ -456,6 +461,7 @@ def unset_refresh_cookies(response: Response, domain: Optional[str] = None) -> N
456461 domain = domain or config .cookie_domain ,
457462 path = config .refresh_csrf_cookie_path ,
458463 samesite = config .cookie_samesite ,
464+ partitioned = config .cookie_partitioned
459465 )
460466
461467
0 commit comments