Repository navigation
oauth2: Unset OauthExpires cookie on signout - #44104
Merged
Merged
Conversation
Signed-off-by: Connor Rogers <[email protected]>
|
Hi @coro, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
Signed-off-by: Connor Rogers <[email protected]>
Signed-off-by: Connor Rogers <[email protected]>
coro
temporarily deployed
to
external-contributors
March 26, 2026 12:54 — with
GitHub Actions
Inactive
Contributor
|
/assign @bplotnick @wbpcode |
Member
Signed-off-by: Connor Rogers <[email protected]>
coro
temporarily deployed
to
external-contributors
April 14, 2026 09:03 — with
GitHub Actions
Inactive
wbpcode
approved these changes
Apr 15, 2026
krinkinmu
pushed a commit
to grnmeira/envoy
that referenced
this pull request
Apr 20, 2026
<!-- !!!ATTENTION!!! If you are fixing *any* crash or *any* potential security issue, *do not* open a pull request in this repo. Please report the issue via emailing [email protected] where the issue will be triaged appropriately. Thank you in advance for helping to keep Envoy secure. !!!ATTENTION!!! For an explanation of how to fill out the fields, please see the relevant section in [PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md) !!!ATTENTION!!! Please check the [use of generative AI policy](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md?plain=1#L41). You may use generative AI only if you fully understand the code. You need to disclose this usage in the PR description to ensure transparency. --> Commit Message: OAuth filter now removes the `OauthExpires` cookie from the user's browser upon logout. Additional Description: Previously the filter unset other OAuth session related cookies such as `OauthHMAC` but did not clear this one remaining cookie. This cookie refers to an already invalidated session state so therefore should be safely removed. Risk Level: Medium Testing: Ran `bazel test -c fastbuild //test/extensions/filters/http/oauth2:filter_test` with new tests Docs Changes: None Release Notes: Added Platform Specific Features: None [Optional Runtime guard:] N/A [Optional Fixes #Issue] N/A [Optional Fixes commit #PR or SHA] N/A [Optional Deprecated:] N/A [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] N/A cc @zhaohuabing as this is somewhat related to your OAuth cookie work in envoyproxy#42079 --------- Signed-off-by: Connor Rogers <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: OAuth filter now removes the
OauthExpirescookie from the user's browser upon logout.Additional Description: Previously the filter unset other OAuth session related cookies such as
OauthHMACbut did not clear this one remaining cookie. This cookie refers to an already invalidated session state so therefore should be safely removed.Risk Level: Medium
Testing: Ran
bazel test -c fastbuild //test/extensions/filters/http/oauth2:filter_testwith new testsDocs Changes: None
Release Notes: Added
Platform Specific Features: None
[Optional Runtime guard:] N/A
[Optional Fixes #Issue] N/A
[Optional Fixes commit #PR or SHA] N/A
[Optional Deprecated:] N/A
[Optional API Considerations:] N/A
cc @zhaohuabing as this is somewhat related to your OAuth cookie work in #42079