We are using an ASWebAuthenticationSession to authenticate using an already logged in session in Safari. This works fine on real hardware. In Simulator from iOS13.5, the callback URL is always missing the session ID which indicates that ASWebAuthenticationSession couldn't access the cookies. We are not using session cookies. As documented here: https://developer.apple.com/documentation/authenticationservices/authenticating_a_user_through_a_web_service Does anyone have any suggestion how to debug this and figure out if the problem is on our side or iOS side?
Search results for
ASWebAuthenticationSession cookie
1,295 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Our app uses Firebase Analytics as well as Firebase Crashlytics. We host no ads, nor intentionally track users. Analytics and Crashlytics are disabled by default and we ask the consent to enable these on our own default consent pages that are shown on app start. Recently the app updates have been getting rejected with the following message: Guideline 5.1.2 - Legal - Privacy - Data Use and Sharing We noticed your app accesses web content you own where you collect cookies. However, you do not use App Tracking Transparency to request the user's permission before collecting data used to track. Collecting cookies is a form of tracking. Starting with iOS 14.5, apps on the App Store need to receive the user’s permission through the AppTrackingTransparency framework before collecting data used to track them. Next Steps Follow these steps to resolve this issue: If you haven't already, update your app privacy information in App Store Connect to disclose that you track users. You must have the Account
I'm not sure I understand this. Apple is saying that they rejected your submission because your app accesses web content you own where you collect cookies. But you are concluding that the issue relates to Firebase somehow. Can you explain why you are connecting cookies to Firebase? Not saying that you are incorrect, just that I don't understand the linkage between the two. We might have a similar issue, so I'm trying to get out in front of of this before it happens. Thanks and good luck. I'll post back to share any additional information that we get during our review process.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Same issue here. I'm very disappointed with apple. I was happy with my QHD display and any other machine other than m1. are there any developers to solve this kind of showstopper issue right now? at least apple shoud answer and let us know the plan! what a shame. it's been a year. don't waste your time to add minor cookie functions. FIX THIS ISSUE FIRST!!!
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I am trying to use ASWebAuthenticationSession web view. After the authentication is complete, the session completion handler is not being called. Hence, the web view doesn't dismiss. Below is the piece of code I am using :guard let authURL = URL(string: https://github.com/login/oauth/authorize?client_id=<client_id>/) else { return } let scheme = octonotes session = ASWebAuthenticationSession.init(url: authURL, callbackURLScheme: scheme, completionHandler: { callbackURL, error in // Handle the callback. print(callbackURL!) print(error!) }) session?.presentationContextProvider = self session?.start()I have set the callback url scheme in info.plist. The same is updated in Targets -> info -> URLAfter running the above code, ASWebAuthenticationSession web view is presented, which provides user with sign in page. Once the authentication is complete, web view does not dismiss unlike WKWebView. There is cancel option on top left of the web view, it calls the completion handler with error
I finally got it working after weeks of struggle. I'm from India and have previously tried using multiple cards and even a US credit card to complete the purchase but it didn't work. I can't use the developer app to enroll because enrollment is not yet available in my country through the app when posting this. Like everyone else, I was frustrated at this and I would suggest not showing your frustration in the emails you write to Apple Support because they will ghost you after 2 emails just like they did to my previous Apple ID. If they do ghost you anyway, try to make another purchase and create a new support ticket. I made a new Apple ID and linked my card to it. Then I bought a song from iTunes to show as evidence when the support asks for it and purchased the license. Use the following link to check the status of your order and wait for it to show as canceled https://secure4.store.apple.com/shop/order/list I wrote to support and told them about the problems until they escalated the issue to a senior advise
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Hello @meaton Do we have any finding why the cookie is getting lost in redirection flow back to the same server ?
Topic:
Privacy & Security
SubTopic:
General
Tags:
I tested it myself. The user denies the tracking but the webview continues saving cookies. I'm looking for a solution in Xamarin but for now the release is rejected...
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi, everytime i click sales and trends it never loads the page, it just takes me right back to the main itunes connect page. If i click sales and trends through the app page it gives me this error: an unexpected error occurred. try reloading the page. if the problem persists contact us. Does anyone know what the problem could be? I reloaded the page i've deleted cookies, history ect. Still no change. Thanks..
Yes, same here - but deleting apple.com cookies fixed this.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Having similar issues Raised FB9403191 (Cookie is not sending back on redirect flow)
Topic:
Privacy & Security
SubTopic:
General
Tags:
I am facing same issue on iOS 14.6, From a hybrid Cordova app, OIDC authentication URL is opened in SFSafariViewController, up on successfull login session cookie is set by the server. Applicaiton is dismissing SFSVC view and authentication is code is passed to hybrid app for validation. Next time (within few minutes or less that a minute) when SFSafariViewController is opened with OIDC URL, previously set session cookie is missing (Session is needed for a customer context switch case within App for the same logged in user) This issue is happening for few of the customers only, issues are getting reported as soon as they took 14.6 OS upgrade. Few case were blocked for few days, un-install -> install helped few people, but again it failing for them. Seems something related to cookie handling in WebKit after 14.6 OS security changes
Topic:
Privacy & Security
SubTopic:
General
Tags:
Just an update for anyone else having the same problem. Now or in the future. After about 48 hours of waiting for a response, Apple support responded by saying clear your browser settings/cookies and try again. Now I know this is a reasonable request, but its not like I hadn't been doing that and trying every single device I own with every single browser I have every hour for the past 2 days. So perhaps if you need to contact apple support about signing in, put in your first ticket that you already tried clearing cookies/settings, etc... Hopefully its not another 48 hour wait for them to respond with something a bit more concrete. 😀
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
I faced the same issue, so I implementented ATT in my app and fall back to launching Safari from the app. That being said, it raise a question for me & ATT. To be fair, as a user, if I use Safari and visit any Apple website, shouldn't Safari ask me if I want Apple to track my activity on there website (they do use cookies). I mean, shouldn't the same rule apply for Apple?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Do we have any additional info like Native app or hybrid apps (Cordova)? Is authentication handled using cookies?
Topic:
App & System Services
SubTopic:
Core OS
Tags: