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

Problem: Difficulties running sessions between SCOPE and Archivematica Django apps on the same domain #196

Open
ross-spencer opened this issue May 22, 2020 · 0 comments

Comments

@ross-spencer
Copy link

I am seeing cross-site-request-forgery warnings raised by scope when trying to login within the same browser I am logged into Archivematica both systems running in their own docker environments locally.

At the very least, this seems to be due to Django cookie naming.

So within settings.py I can set CSRF_COOKIE_NAME = "COLIN" to quieten that, and then I can happily log into both without the warning appearing.

Equally, I can create a similar setting inside Archivematica's Dashboard settings: here.

That gets me further down the road.

The second issue is that there still seems to be some interference between the two applications where logging into one logs you out of the other. This is less inconvenient. My focus is elsewhere today so I might come back to this, but it means I haven't been able to debug that further.

Tested in both Firefox and Chrome.

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