Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
af416d9e
Commit
af416d9e
authored
4 years ago
by
Thijs Kinkhorst
Browse files
Options
Downloads
Patches
Plain Diff
Document SameSite issues under session lost.
Closes: #1411 (cherry picked from commit
306b8281
)
parent
79e0f6c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/simplesamlphp-nostate.md
+11
-0
11 additions, 0 deletions
docs/simplesamlphp-nostate.md
with
11 additions
and
0 deletions
docs/simplesamlphp-nostate.md
+
11
−
0
View file @
af416d9e
...
@@ -101,6 +101,17 @@ What those settings should be set to depends on the application. The simplest
...
@@ -101,6 +101,17 @@ What those settings should be set to depends on the application. The simplest
way to determine it may be to look for calls to
`session_set_cookie_params`
in
way to determine it may be to look for calls to
`session_set_cookie_params`
in
the application, and look at what parameters it uses.
the application, and look at what parameters it uses.
#### Browsers with SameSite=Lax as default
Some browsers, notably Chrome, will default the cookie SameSite attribute to "Lax" if it
is not set. Specifically in the context of SAML this means that cookies will not be sent
when a POST request is performed between websites, which is typical for the SAML WebSSO
flow. The lack of cookies will cause SimpleSAMLphp's session to be lost when receiving an
assertion via the HTTP-POST binding.
To resolve this, you can set the
`session.cookie.samesite`
attribute in
`config.php`
to
`None`
.
#### A generic problem saving sessions
#### A generic problem saving sessions
Sometimes the problem is caused by SimpleSAMLphp being unable to load and/or save
Sometimes the problem is caused by SimpleSAMLphp being unable to load and/or save
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment