Search results for

ASWebAuthenticationSession cookie

1,299 results found

Post

Replies

Boosts

Views

Activity

Reply to Localstorage in ios13 resetting by itself
Your problem may be linked to the 7 days cap on localStorage introduced in iOS/iPad 13.4 Here is a link to a blog post from webkit : Full Third-Party Cookie Blocking and More - https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/ Did you try using service workers ? I wonder if service workers could prevent data loss in PWA Hope I helped.
Topic: Safari & Web SubTopic: General Tags:
Mar ’21
Option to allow 3rd party cookies not available in Safari 14.0.3
While using Safari 14.0.3, I keep receiving error messages when I try to open a 3rd party video made available on a school website that uses Blackboard as its platform. The error message is prompting me to allow 3rd party cookies. In SafariPreferencesPrivacy, there is no longer an option to allow 3rd party cookies. I am running BigSur 11.2.3. How do I allow 3rd party cookies in Safari 14.0.3?
Topic: Safari & Web SubTopic: General Tags:
0
0
594
Mar ’21
WKWebView issue on iOS 14.4.1 - I suspect that accepting cookies is disabled
In iOS 14.4 there was a problem with login via login.microsoftonline.com in our app using the WKWebView component - it showed empty page on iPhone SE. At the same time login to this site worked perfectly in Safari on the same iphone. We were able to fix this issue by adding this line to our code before the code which loads the site: HTTPCookieStorage.shared.cookieAcceptPolicy = .always Apple docs state that default value is .always but setting this value manually actually fixed the issue on iOS 14.4. On iOS 14.4.1 this solution stopped working and login.microsoftonline.com shows empty white page again for one of our users. Can someone give us an idea how it could be fixed? I suspect that it could be similar cookie issue.
Topic: Safari & Web SubTopic: General Tags:
1
0
1.4k
Mar ’21
Redirection to app from SSO login stoped working
We have hybrid app developed using cordova. Our app is Swift Enterprise available on apple store. We have functionality of SSO login which we are achieving using InAppBrowser plugin. Earlier it was working fine but from Aug 2020 it stopped working. We are able to login to SSO url, using InAppBrowser plugin but after login we were redirecting to our main app. Issue is, now we are not able to redirect to our app. Application not able to load. I guess it is cookies issue, I tried setting manual cookies as well but nothing works out. Please suggest some solution on this issue as our app stopped working because of this. Awaiting for your response and some suggestion.
0
0
923
Mar ’21
Safari unpredictably stalls loading crossorigin resources (CORS bug?)
We're hitting an issue where Safari on Mac renders a page fine for a period of time but then, for unknown reasons, fails to load some resources stored on a different (unauthenticated) subdomain if 'crossorigin=anonymous' is specified. These are the same resources (css, js) that had been loaded fine earlier in the session. The hosting of the resources is consistent. Safari doesn't produce any errors, it just hangs forever appearing to request the resources. We believe this is a CORS related issue for a couple of reasons. This only happens to resources that are loaded with 'crossorigin=anonymous' Once Safari is in a broken state, the toggling on Disable Cross-Origin Restrictions will let the page load, and toggling it off again will return it to the broken state. The only other way to fix the browser session is to quit and restart Safari. I've logged a Safari bug/feedback but haven't heard anything back. Does anyone have any idea how to solve this without removing the crossorigin parameter from these resources?
1
0
1k
Mar ’21
Javascript cookies are set with incorrect expiry date in Safari 14.0.3
Using the following javascript code to set a cookie in Safari results in an incorrect expiry date being set on the cookie. The same code produces the correct result in Google Chrome. document.cookie = cookie_name=1615209245; expires=Tue, 08 Mar 2022 13:14:05 GMT; path=/; This code produces a cookie with an expiry date of March 8, 2022 in Google Chrome as expected, but incorrectly as March, 16, 2021 in Safari. Is this a known issue? What can I do to get the correct result?
2
0
2.6k
Mar ’21
Reply to WKWebview Cookies not set iframe requests
find the reason: https://webkit.org/blog/11340/new-webkit-features-in-safari-14/ Xcode12 Base SDK iOS14 Xcode11 Base SDK iOS13 iOS 14 WebKit enabled full third-party cookie blocking NSHTTPCookieStorage you can set Cookie Accept Policy as NSHTTPCookieAcceptPolicyAlways, NSHTTPCookieAcceptPolicyNever, NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain but WKWebview no way to set the WKHTTPCookieStorage Cookie Accept Policy.
Topic: Safari & Web SubTopic: General Tags:
Mar ’21
App Store connect API Key limited to one account
Hi there, We have a developer account that manages many other client accounts (for creating provisioning profiles, releases, etc.). So far we use cookie authentication via fastlane to upload the releases, but we want to move to the API key authentication. The question is: Do we have to create only one API key via Apple Developer Console for our account, or do we have to create a new API key for each individual client account? We have tried to use fastlane with api key and we see only the apps from our own account tho the same user is invited in multiple accounts with the proper permissions. As far as we researched the issue creating a key from our own account should be enough. Should we do something else? Thanks :)
1
0
1.3k
Mar ’21
Reply to Unable to Download Big Sur 11.2.1
I kept getting an error message that my internet connection failed when trying to download the update. I have a MacBook Air 2019 and this is what worked for me after trial and error: Cleared cache and cookies in browser Restarted in safe mode While in safe mode, I deleted old files and apps that I don't use and this seemed to move the download along I kept my Mac charging while it was downloading and installing It took about 20-25 minutes to complete.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
ITP not working with safaridriver
Hi, I'm using Selenium and Safari for automated testing and came across an unexpected behavior with third party cookies. I think third party cookies are restricted by ITP on Safari 14 by default. But when I launch it from Selenium using safaridriver, it does send third party cookies. Here is a repository containing the steps to reproduce the issue: https://github.com/hir0shim/third-party-cookie-investigation With the manual tests, ITP is working as expected, which is good. However with automatic tests, ITP is not working and third party cookies are sent. Versions Safari: Version 14.0.3 (16610.4.3.1.4) Selenium library: org.seleniumhq.selenium:selenium-java:3.141.59 Thanks
0
0
709
Feb ’21
WKURLSchemeTask.request.HTTPBody is nil if FormData with File is POST(ed)
Hi This is related to Cordova 6.2.0 which is using the scheme handler mechanism to intercept all calls and and to mitigate another issue https://bugs.webkit.org/show_bug.cgi?id=213510 in WkWebView. We are trying to overcome the above limitation by using a web client proxy and everything is proxied ok (including cookies are stored and transmitted correctly) except a specific case (https://github.com/apache/cordova-ios/issues/1074). If from Javascript we are doing a POST(via fetch) with FormData (which normally works) with attached files, in the overrideSchemeTask urlSchemeTask.request.HTTPBody is nil and nothing is transmitted to the server. Again, if we are posting FormData with plain text values, or if we post a json the HTTPBody is correctly transmitted. Please advise because this is a showstopper since we are trying to overcome one limitation and ran into another. iOS 14.4 XCode 12.3 macOS BigSur 11.0.1 Cordova 6.2.0
0
0
721
Feb ’21