Skip to content

Conversation

@matpen-wi
Copy link
Contributor

@matpen-wi matpen-wi commented Jul 2, 2024

Description

Switches to using the 'Max-Age' attribute instead of 'Expires' attribute for cookie expiration.

Motivation and Context

fixes #2696
This change fixes problems with expired cookies in Firefox if time differs between client and server.

How Has This Been Tested?

  • unit tests
  • manual tests with Firefox

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.
  • I have written tests for my code changes.

@matpen-wi matpen-wi requested a review from a team as a code owner July 2, 2024 11:23
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2024

This pull request has been inactive for 60 days. If the pull request is still relevant please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.

@github-actions github-actions bot added the Stale label Sep 3, 2024
@matpen-wi
Copy link
Contributor Author

still relevant

@github-actions github-actions bot removed the Stale label Sep 5, 2024
tuunit
tuunit previously approved these changes Sep 15, 2024
@JoelSpeed
Copy link
Member

Apologies this has been sat for so long, we should get this merged.

Can you rebase on the latest changes and get the changelog updated to move the entry to the correct section please?

@matpen-wi
Copy link
Contributor Author

Can you rebase on the latest changes and get the changelog updated to move the entry to the correct section please?

I have rebased the change.

@JoelSpeed JoelSpeed merged commit a25fef7 into oauth2-proxy:master Feb 24, 2025
6 checks passed
@matpen-wi matpen-wi deleted the feat/max-age-instead-of-expires branch February 24, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

[Feature]: Use cookie attribute 'Max-Age' instead of 'Expires' for cookie expiration

3 participants