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

Investigate fcrepo jsessionid cache issue #68

Open
UcDust opened this issue Sep 18, 2023 · 1 comment
Open

Investigate fcrepo jsessionid cache issue #68

UcDust opened this issue Sep 18, 2023 · 1 comment
Assignees

Comments

@UcDust
Copy link
Contributor

UcDust commented Sep 18, 2023

It appears the JSESSIONID cookie can expire in the browser and cause issues with PUT requests into fcrepo. For the DAMS project, this results in 403 Forbidden errors when trying to save admin data into /application/ucd-lib-client/.

As a work around, in the fin gateway proxy model, during proxy requests we're deleting the cookie header, and in the login authentication success callback we're setting a new JSESSIONID header.

It might be worth investigating in more detail how fcrepo is using this cookie, and perhaps handle things differently in our code.

@UcDust
Copy link
Contributor Author

UcDust commented Sep 18, 2023

The changes described above can be seen in this commit.

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

2 participants