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

auth: prevent caching of sign-in redirect #4908

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kenjenkins
Copy link
Contributor

Summary

Add a Cache-Control: no-store header to the sign-in redirect at the start of the authentication flow. This should discourage browsers from caching this redirect.

Related issues

User Explanation

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

Add a 'Cache-Control: no-store' header to the sign-in redirect at the
start of the authentication flow. This should discourage browsers from
caching this redirect.
@coveralls
Copy link

Coverage Status

coverage: 60.175% (+0.03%) from 60.15%
when pulling e7b4cc9 on kenjenkins/sign-in-cache-control
into 5e0079c on main.

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

Successfully merging this pull request may close these issues.

None yet

2 participants