You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for SameSite cookie option in browsers #268
Chrome will require support for this feature pretty soon (expected around Feb 20) while Safari has a bug in this feature implementation for versions lower than macOS 10.15 and iOS 13. We would probably have to set a browser sniffing function to handle this.
Just finished to implement this and it should be released on the upcoming version 0.5.
This feature allow us to drop the success and failure redirect URLs. The login endpoint will result in a valid JSON response with no need for any HTTP redirects.
There is also a fallback cookie used for clients that still miss support for the SameSite option or for non-https connections. The fallback cookie is postfixed with '_legacy' in its name
Safari now completely blocks any 3rd party cookies leaving Appwrite with no secure way to set a user session on remote domains.
This leaves us with two options:
Setting a fallback session key in the user's localStorage. This is not considered a good practice. Any 3rd party or malicious script could easily get access and reuse the user session.
Recommend or even enforce self-hosted setups to run on the same domain as the app domain (ex: appwrite.my-app.com). Another option is to allow users to set custom domains per project. The last option will require us to auto-generate self-signed certificates for custom domains.
Activity
eldadfux commentedon Jan 14, 2020
Just finished to implement this and it should be released on the upcoming version 0.5.
This feature allow us to drop the success and failure redirect URLs. The login endpoint will result in a valid JSON response with no need for any HTTP redirects.
There is also a fallback cookie used for clients that still miss support for the SameSite option or for non-https connections. The fallback cookie is postfixed with '_legacy' in its name
eldadfux commentedon Jan 17, 2020
Safari now completely blocks any 3rd party cookies leaving Appwrite with no secure way to set a user session on remote domains.
This leaves us with two options:
eldadfux commentedon Feb 22, 2020
Work on custom-domains feature has started on this branch:
https://github.com/appwrite/appwrite/tree/custom-domains
eldadfux commentedon May 21, 2020
This feature was released in 0.5.
Merge pull request appwrite#268 from utopia-php/fix/nats-replay-reque…