Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLT-1304: Fixes #1304 default no cache setting for SAML. #1306

Merged
merged 1 commit into from
Apr 4, 2017
Merged

BLT-1304: Fixes #1304 default no cache setting for SAML. #1306

merged 1 commit into from
Apr 4, 2017

Conversation

kylebrowning
Copy link
Contributor

Fixes #1304

Changes proposed:

  • Remove default disabling of cache.

@grasmash grasmash added the Enhancement A feature or feature request label Apr 4, 2017
@grasmash grasmash merged commit 9065d7d into acquia:8.x Apr 4, 2017
@@ -21,8 +21,13 @@
// Change these for your installation
$config['secretsalt'] = 'y0h9d13pki9qdhfm3l5nws4jjn55j6hj';
$config['auth.adminpassword'] = 'mysupersecret';
// Prevent Varnish from interfering with SimpleSAMLphp.
setcookie('NO_CACHE', '1');
Copy link
Contributor

@greylabel greylabel Apr 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kylebrowning I remember at one point seeing requests to /saml_login/* being cached unintentionally in Varnish and causing issue. Have we verified removing this works as expected? The NO_CACHE cookie could also be scoped to a specific path.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greylabel Yes it could! If thats the case, maybe we should do that instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants