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

SameSite = None, Secure = True for a local network #22

Open
hazymoon22 opened this issue Mar 18, 2020 · 1 comment
Open

SameSite = None, Secure = True for a local network #22

hazymoon22 opened this issue Mar 18, 2020 · 1 comment
Labels
question Further information is requested

Comments

@hazymoon22
Copy link

My company has a chatbot which is embed in the company's websites through an iframe. These websites are only internal, which means they can only be accessed within the local network of the company, so there is no https protocol implemented.

If Secure=True has to come with SameSite=None, does that mean our chatbot can not work with cross domain cookies without implementing https protocol ? Is there any workaround for such situation ?

@rowan-m
Copy link
Collaborator

rowan-m commented Mar 20, 2020

Short answer: yes, any cross-site cookies must be SameSite=None; Secure.

Options:

  • Can you have your internal sites as subdomains? e.g http://app1.internal, http://app2.internal?
  • Can you provision free certificates via https://letsencrypt.org/ ?
  • Are your work machines using an enterprise managed version of Chrome? If so, you can apply policies to exempt certain sites from this behaviour. https://www.chromium.org/administrators/policy-list-3/cookie-legacy-samesite-policies
  • You can disable this behaviour via the two flags chrome://flags/#same-site-by-default-cookies and chrome://flags/#cookies-without-same-site-must-be-secure however this is not a permanent solution.

@rowan-m rowan-m added the question Further information is requested label Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants