fastapi-jwt-auth icon indicating copy to clipboard operation
fastapi-jwt-auth copied to clipboard

Same-Site Cookie Context

Open lakshaythareja opened this issue 3 years ago • 0 comments

The values allowed are 'strict', 'lax' or 'none'. With case-sensitive checks. Chrome accepts values with capitalized words, example: Strict, Lax, None.

We either need to check it by converting values to lower as we do while setting the cookie. Example: setting it in config to "None" fails: image

Whereas while setting it starlette checks for lower case value: image

lakshaythareja avatar Mar 14 '22 15:03 lakshaythareja