Server set cookies not working on Cordova/iOS #11458
Comments
|
I'm confused what you are trying to achieve here. You said that this does not effect Meteor, so do you just want this documented in some way on how people should manage this? |
|
@StorytellerCZ You're absolutely right, I wrote that in a hurry, that was a bad decision. |
|
I think then this issue would be more suited for Docs: https://github.com/meteor/docs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Since iOS has changed its cookie policy named as
INTELLIGENT TRACKING PREVENTION(see risetechnologies/cookieTest#2 (comment) for a brief explanation) cookies set by the server are not being taken into account anymore (also see https://forums.meteor.com/t/sticky-session-using-cookies-and-cordova/44419/9).This is especially an issue if load balancers use sticky sessions in conjunction with cookies as described in https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html
This is not an issue with the Meteor codebase itself, but it may make sense to either document this or use https://github.com/GEDYSIntraWare/cordova-plugin-webview-proxy per default along
cordova-plugin-meteor-webapp.Also, I think that at some point this issue will affect Android as well.
Which platform is affected?
Meteor in conjunction with Cordova on iOS.
What is the issue?
A cookie set in an HTTP response header is ignored on iOS.
What are the consequences of the problem?
For instance, when a load balancer sets a sticky-session cookie to link the connection with a specific server, this link won't work as the client never uses that cookie on any request. Of course, this will affect other scenarios where server-set cookies are important as well.
Are there any workarounds/solutions?
Motivation
While there is a viable and independent solution (
cordova-plugin-webview-proxy), other Meteor developers might face the same issue and may not find a proper solution. The main goal is to document the effects of ITP on Meteor and not to provoke any changes in the Meteor codebase.References
The text was updated successfully, but these errors were encountered: