benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.49k stars 2.7k forks source link

google drive sync workspace issues #1745

Open msangel opened 3 years ago

msangel commented 3 years ago

When using google drive workspace in chrome 91, the files are not synced. In the console the errors are:

Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute
Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, 
which prevents the cookie from being sent in a cross-site request. 
This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.
Resolve this issue by updating the attributes of the cookie:
Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. 
This enables third-party use.
Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.

Affected resources:

Name    Domain & Path
SIDCC   .google.com/

Explenation: https://web.dev/samesite-cookies-explained