Skip to content

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

Merged
kimlisa merged 4 commits intobranch/v14from
lisa/v14/app-redirection-fix
Feb 12, 2024
Merged

[v14] Fix app redirection loop on browser's incognito mode and 3rd party cookie block#37692
kimlisa merged 4 commits intobranch/v14from
lisa/v14/app-redirection-fix

Conversation

@kimlisa
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
Contributor

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 requested review from bl-nero and r0mant February 1, 2024 22:14
@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 github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 12, 2024
@kimlisa kimlisa enabled auto-merge February 12, 2024 17:47
@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
@kimlisa kimlisa deleted the lisa/v14/app-redirection-fix branch February 12, 2024 22:27
@fheinecke fheinecke mentioned this pull request Feb 16, 2024
This was referenced Aug 6, 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.

3 participants