-
Notifications
You must be signed in to change notification settings - Fork 32
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 cross-origin cookie issues #63
Comments
I did some experimentation and found out a curious thing: By default, even for The weird thing however is that it's hard to find any documentation about this anywhere. I feel like I'm missing something obvious... |
This site says the following:
So that explains the behavior I think. However, there should be a way around this without a weird hack. |
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/:
Option 3 is the one I've been thinking about, but they explicitly say that it'll go away in the future. So I guess I'll try to look into the other two options at some point... |
With #61 it should be possible to detect whether login-server is used cross-site and a warning could be shown for Safari users. |
It is already possible in login-client with |
Since Chrome (Chromium) also plans to abandon third-party cookies completely, we need to find an alternative, long-term solution for this issue. Here are some resources we might look into for help:
|
What's the difference of this issue compared to #90? |
Just an idea: the same login-server database might be shared across multiple instances at different domains, e.g. coli-conc.gbv.de/login and bartoc.org/login - or extend login-server to support multiple BASE_URL in parallel and use proxy to server under different domains. |
Hosting the same instance on multiple domains will not work because identity providers require a unique domain name to be registered. Current most viable solution is to use one instance for each domain (primary) but possibly sync instances (secondary). Final solution may be postponed before #32 anyway as SAML seems to work across domains. |
I've had mixed results working with Safari, so some investigation is necessary. As this site reports that cross-site cookies with
SameSite=None; Secure
do work in Safari, they don't seem to work with Login Server so far. Here is the source code for that site, so I'll test it out myself and see whether I can get it to work here as well.The text was updated successfully, but these errors were encountered: