breautek commented on issue #753: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/753#issuecomment-661025005
> how would you define a third party cookie? Third party cookies are cookies set from a different origin. Your cordova webview will either have an origin of `null` or if you're using schemes on cordova-ios, it will be set to your scheme (e.g: `app://localhost`). > it used to work fine with UIWebview. But with WKWebview, things are breaking. `WKWebView` has added a lot restrictions surrounding cookies. [More restrictions](https://www.adexchanger.com/privacy/apple-wwdc-2020-a-version-of-intelligent-tracking-prevention-is-coming-to-the-app-world/) may come to iOS in iOS 14 via ITP. Unfortunately this is something outside of Cordova's control. I'd consider moving away from cookies as a storage mechanism if possible. In my apps, I use HTTP headers to send authentication tokens, and I store them in a flat file using the `cordova-plugin-file`. Other storage methods is also suitable depending on your use cases. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
