[Webkit-unassigned] [Bug 213510] REGRESSION (iOS 14): WKWebView does not include cookies in cross-origin images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 23:16:08 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213510

--- Comment #3 from Niklas Merz <niklasmerz at apache.org> ---
Hi John. Thanks for the suggestion, looking forward to this session. I noticed some changes to Safari briefly in the keynote.

Our app is an hybrid app using the Apache Cordova framework. Because it is built with this approach basically every external connection is a cross-site request. When the app launches it loads a web app in WKWebView running on a custom scheme handler with an origin like "ionic://localhost". If you want more information how Cordova works and why some things are like they are contact me. I am happy to discuss this and I have done quite a bit of troubleshooting especially with CORS issues for Cordova apps.

Users of our app now enter their credentials for their on-premise installation of our server side product into the app that is the second origin. The app running in the main webview on our apps internal origin should now use cookies to connect to the configured external origin to load resources like images with the uesers session.

Basically there are just those two origins involved but not always the same two. Each enterprise customer uses its own origin (server) and one origin is just the internal origin the app is running on. We need this flexibility to run the app on one origin and connect to a server the users configures in the app at runtime. Cross-origin cookies are important for the connection to the server the user set in the app to make use of the user session the server solution provides.

We had this exact problem with iOS 13.3 and fortunately we got a fix from you really quickly in one of the betas.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200624/1dbe1153/attachment.htm>


More information about the webkit-unassigned mailing list