From 21676b8e27841ebe8121408bee3fc550a2daf779 Mon Sep 17 00:00:00 2001 From: Artyom Vancyan Date: Mon, 30 Sep 2024 21:55:32 +0400 Subject: [PATCH] Add `same_site` property in docs --- docs/integration/configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/integration/configuration.md b/docs/integration/configuration.md index c7c18bf..2485ea3 100644 --- a/docs/integration/configuration.md +++ b/docs/integration/configuration.md @@ -10,6 +10,9 @@ The `OAuth2Config` class is used to define the middleware configuration, and it - `enable_ssr` - Whether enable server-side rendering or not. Defaults to `True`. - `allow_http` - Whether allow HTTP requests or not. Defaults to `False`. +- `same_site` - + The [SameSite](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value) attribute + of the session cookie. Defaults to `lax`. - `jwt_secret` - Secret used to sign the JWT tokens. Defaults to an empty string. - `jwt_expires` - JWT lifetime in seconds. Defaults to 900 (15 minutes). - `jwt_algorithm` - The algorithm used to sign the JWT tokens. Defaults to `HS256`.