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

Use a cookie to prevent FormFlow journey theft #1268

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

gunndabad
Copy link
Collaborator

To keep FormFlow journeys bound to a particular user we normally use the signed in user's ID but for Teacher Auth, we don't yet know the user's ID at the point the journey is created. This adds a random ID and stores it in a cookie to give us per-session journey binding.

@gunndabad gunndabad requested a review from MrKevJoy April 9, 2024 15:29
@gunndabad gunndabad merged commit 4220882 into main Apr 9, 2024
12 checks passed
@gunndabad gunndabad deleted the cookie-useridprovider branch April 9, 2024 15:46
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.

2 participants