Skip to content

Commit c91db0a

Browse files
jdleonardRoSk0
authored andcommitted
Update Readme to highlight need to change cookie name on Pantheon
1 parent 57d623a commit c91db0a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ Configure the authentication source by putting following code into `simplesamlph
6464
// Whether to turn on debug
6565
'debug' => true,
6666

67+
// Cookie name. Set this to use a cache-busting cookie pattern
68+
// (e.g. 'SESSdrupalauth4ssp') if hosted on Pantheon so that the cookie
69+
// is is not stripped away by Varnish. See https://pantheon.io/docs/cookies#cache-busting-cookies .
70+
'cookie_name' => 'drupalauth4ssp',
71+
6772
// Which attributes should be retrieved from the Drupal site.
6873
'attributes' => array(
6974
array('field_name' => 'uid', 'attribute_name' => 'uid'),
@@ -96,6 +101,11 @@ Configure the authentication source by putting following code into `simplesamlph
96101
// Whether to turn on debug
97102
'debug' => true,
98103

104+
// Cookie name. Set this to use a cache-busting cookie pattern
105+
// (e.g. 'SESSdrupalauth4ssp') if hosted on Pantheon so that the cookie
106+
// is is not stripped away by Varnish. See https://pantheon.io/docs/cookies#cache-busting-cookies .
107+
'cookie_name' => 'drupalauth4ssp',
108+
99109
// the URL of the Drupal logout page
100110
'drupal_logout_url' => 'https://www.example.com/drupal/user/logout',
101111

0 commit comments

Comments
 (0)