You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/01/16 10:36:12 UTC
[couchdb-documentation] branch master updated: Document same_site
cookie attribute
This is an automated email from the ASF dual-hosted git repository.
willholley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new ce6f8dc Document same_site cookie attribute
ce6f8dc is described below
commit ce6f8dcfa37a30f5afdc5d4f18740a72028e8143
Author: Will Holley <wi...@gmail.com>
AuthorDate: Tue Jan 14 11:57:34 2020 +0000
Document same_site cookie attribute
Add documentation for configuring the SameSite attribute of the
auth cookie.
Refs #2221
---
src/config/auth.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/config/auth.rst b/src/config/auth.rst
index f75f0a6..5dad23a 100644
--- a/src/config/auth.rst
+++ b/src/config/auth.rst
@@ -144,6 +144,16 @@ Authentication Configuration
[couch_httpd_auth]
cookie_domain = example.com
+ .. config:option:: same_site :: SameSite
+
+ .. versionadded:: 3.0.0
+
+ When this option is set to a non-empty value, a ``SameSite`` attribute is added to
+ the ``AuthSession`` cookie. Valid values are ``none``, ``lax`` or ``strict``.::
+
+ [couch_httpd_auth]
+ same_site = strict
+
.. config:option:: auth_cache_size :: Authentication cache
Number of :ref:`userctx_object` to cache in memory, to reduce disk