Skip to content
Snippets Groups Projects
Commit adb645b8 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Improve SameSite docs a bit more

(cherry picked from commit 21191508)
parent e3057328
No related branches found
No related tags found
No related merge requests found
......@@ -575,6 +575,13 @@ $config = [
* the RFC6265bis SameSite cookie attribute. If set to null, no SameSite
* attribute will be sent.
*
* A value of "None" is required to properly support cross-domain POST
* requests which are used by different SAML bindings. Because some older
* browsers do not support this value, the canSetSameSiteNone function
* can be called to only set it for compatible browsers.
*
* You must also set the 'session.cookie.secure' value above to true.
*
* Example:
* 'session.cookie.samesite' => 'None',
*/
......
......@@ -112,6 +112,7 @@ assertion via the HTTP-POST binding.
To resolve this, you can set the `session.cookie.samesite` attribute in `config.php`
to `None`. Starting with SimpleSAMLphp 1.19, the config template contains a way to
set this dynamically based on the user's browser support for this attribute.
You also need to enable the `session.cookie.secure` setting.
### A generic problem saving sessions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment