Skip to content

Commit

Permalink
Update SameSite cookie notes (#322)
Browse files Browse the repository at this point in the history
Add notes for blocking cookies when SESSION_COOKIE_SECURE is not set
  • Loading branch information
omidraha authored Jan 30, 2022
1 parent 8bd4bf8 commit 5f956aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/contents/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can even configure the SAML cookie name as follows::
SAML_SESSION_COOKIE_NAME = 'saml_session'

Remember that in your browser "SameSite=None" attribute MUST also
have the "Secure" attribute, which is required in order to use "SameSite=None"::
have the "Secure" attribute, which is required in order to use "SameSite=None", otherwise the cookie will be blocked, so you must also set::

SESSION_COOKIE_SECURE = True

Expand Down

0 comments on commit 5f956aa

Please sign in to comment.