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

feat: add tabId to refresh-itp-cookies #274

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Conversation

michal-oleniacz-stp
Copy link
Collaborator

This PR adds a simple mechanism for creating tab-scoped IDs that are persistent after redirects.

Flow goes as follows:
page-load -> generate ID -> try to store ID in session storage if it's not present already -> session flow -> redirect -> read ID from session storage

We need this in order to debug a race condition bug causing logouts.
Tested locally using PRE env so logs confirm it works.

@michal-oleniacz-stp michal-oleniacz-stp merged commit 590b443 into master Apr 12, 2024
4 checks passed
@michal-oleniacz-stp michal-oleniacz-stp deleted the feat/tab-id branch April 12, 2024 12:03
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.

3 participants