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

[v14] Fix app redirection loop on browser's incognito mode and 3rd party cookie block #37692

Merged
merged 4 commits into from
Feb 12, 2024

Conversation

kimlisa
Copy link
Contributor

@kimlisa kimlisa commented Feb 1, 2024

clean backport #30321 to branch/v14

tested with and without fix, with chrome and incognito chrome (cookies are blocked by default in incognito):

image

Changelog: Fix app redirection loop on browser's incognito mode and 3rd party cookie block

…okie block (#30321)

* Copy pasta revert back to previous app redirection logic

Reverted parts of:
#17592

Kept json field renames

* Remove unused fields (were renamed while back)

* Refactor previous implementation

- Create unique cookie for each state token created
- Preserve path and queries

* Split handlers

* Fix tests and lint

* Address CR

* Add backwards compatability

* Emit errs with invalid vals and attempt to delete session

* Update test

* Address CRs

* Fix lint
Copy link

github-actions bot commented Feb 1, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@kimlisa kimlisa added this pull request to the merge queue Feb 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 12, 2024
@kimlisa kimlisa added this pull request to the merge queue Feb 12, 2024
github-merge-queue bot pushed a commit that referenced this pull request Feb 12, 2024
…okie block (#30321) (#37692)

* Copy pasta revert back to previous app redirection logic

Reverted parts of:
#17592

Kept json field renames

* Remove unused fields (were renamed while back)

* Refactor previous implementation

- Create unique cookie for each state token created
- Preserve path and queries

* Split handlers

* Fix tests and lint

* Address CR

* Add backwards compatability

* Emit errs with invalid vals and attempt to delete session

* Update test

* Address CRs

* Fix lint
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 12, 2024
@kimlisa kimlisa added this pull request to the merge queue Feb 12, 2024
Merged via the queue into branch/v14 with commit e5be7dc Feb 12, 2024
34 checks passed
@kimlisa kimlisa deleted the lisa/v14/app-redirection-fix branch February 12, 2024 22:27
@fheinecke fheinecke mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants