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

nitcorn: Non POLA cookie behavior cause lost sessions #2278

Open
privat opened this issue Aug 18, 2016 · 0 comments
Open

nitcorn: Non POLA cookie behavior cause lost sessions #2278

privat opened this issue Aug 18, 2016 · 0 comments
Labels

Comments

@privat
Copy link
Member

privat commented Aug 18, 2016

nitcorn cookies are assigned by path. This cause some issues when tracking sessions

In the following example, the 3 GET cause the creation of 3 distinct sessions

Then, the next GET that revisits foo is given a different session (the one of / is used, but it seems there is some randomness)

example: https://gist.github.com/privat/e769dad16423cfcd3c921d603496107e

This cause sessions to be lost and external authentification with a redirect (like github oauth) to fail

@privat privat added the bug label Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant