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

Cookies with incorrect path #1189

Open
jochenklar opened this issue Nov 9, 2024 · 0 comments
Open

Cookies with incorrect path #1189

jochenklar opened this issue Nov 9, 2024 · 0 comments

Comments

@jochenklar
Copy link
Member

Description / Beschreibung

The store_id and messages cookie keep / as path when using rdmo under an script alias.

Expected behaviour / Erwartetes Verhalten

In config/settings/__init__.py we set CSRF_COOKIE_PATH, LANGUAGE_COOKIE_PATH, and SESSION_COOKIE_PATH. I think the two cookies should just follow SESSION_COOKIE_PATH. This is easy for out store_id, but we need to check how messages (which we don't use, yet) is configured.

Steps to reproduce / Schritte zum Reproduzieren

The problem is visible on /rdmo/account/orcid/login/callback/.

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

No branches or pull requests

1 participant