I'm currently building an app using OAuth for authentication. Due to recent changes in the iOS 11 API I'd like to use the new SFAuthenticationSession to achieve this. The app already worked with the old SFSafariViewController and the switch to being able to log in with SFAuthenticationSession was very easy, so all is good until here.But, this might be a stupid question: how do I log out? Invalidating the tokens is the easy part. But how do I clear the cookie on the login page? The way things are now I invalidate the tokens, reopen the SFAuthenticationSession, the login view pops up, it recognizes the cookie and logs the user in. Auth tokens are regenerated and we're back where we started.So how do I clear the cookies?Thanks in advance(Also it wasn't clear in which board to post this. Sorry if I'm wrong here.)
Search results for
ASWebAuthenticationSession cookie
1,295 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello i am having trouble with MDM pushI distributed MDM push and mobileconfig file to our 3 customer which sharing same certificateds but different server.And the problem is 2 of them works perfectly, but the one company do not work.I was trying to see the device log, but I could not find any error.So please see these logs and tell me what the problem is?Log which working perfectly Nov 16 21:15:56 YONGMINui-iPhone profiled[130] <Notice>: Checking for MDM installation... Nov 16 21:15:57 YONGMINui-iPhone profiled[130] <Notice>: ...finished checking for MDM installation. Nov 16 21:16:03 YONGMINui-iPhone mdmd(libdyld.dylib)[1722] <Notice>: mdmd starting... Nov 16 21:16:03 YONGMINui-iPhone apsd(PersistentConnection)[79] <Notice>: 2017-11-16 21:16:03 +0900 apsd[79]: SetupConnection: env=development portName=com.apple.managedconfiguration.mdmdpush-dev (portNameIsBundleId=0) Nov 16 21:16:03 YONGMINui-iPhone apsd(PersistentConnection)[79] <Notice>: 2017-11-16 21:16:03 +0900 apsd[79]: Fou
Hello, I am having trouble using MDM push notification.So we are using mobileconfig to install the MDM app.Yesterday, we renew the expired mdm push certificate and distributed to our customers.There are 3 customers using same mdm push certificate,but two of them works perfectly, one of them not working.I tried to see the device log and server log, I can not find what is wrong with..I am attaching the device log file both working log and not working log.So here is working logNov 16 21:15:56 YONGMINui-iPhone profiled[130] <Notice>: Checking for MDM installation... Nov 16 21:15:57 YONGMINui-iPhone profiled[130] <Notice>: ...finished checking for MDM installation. Nov 16 21:16:03 YONGMINui-iPhone mdmd(libdyld.dylib)[1722] <Notice>: mdmd starting... Nov 16 21:16:03 YONGMINui-iPhone apsd(PersistentConnection)[79] <Notice>: 2017-11-16 21:16:03 +0900 apsd[79]: SetupConnection: env=development portName=com.apple.managedconfiguration.mdmdpush-dev (portNameIsBundleId=0) Nov 16 21:16:03 YONGMINui-
We set up a new version for one of our apps and saved all details in iTunes Connect the day before. Yesterday we tried to change the new version information text, clicked the 'Save' button, and a red warning message poped up sayingYour changes cannot be saved at the moment. Try again later, please.Well I am trying later for more than 24 hours now, no luck. Whatever change I try to save, it does not work. Removing the build, saving without a build: not working. Setting up a new build, attaching that to the new version, saving that: not working. Changing screenshots: can't save that, too.I contacted Apple support regarding this yesterday, no answer until now. We have a critical bug fix to be released, but this error prevents us from submitting it for review as we cannot save any changes for that specific version.Anybody else seeing this? I tried different browsers (Safari, Firefox, Chrome), cleared cache and cookies, tried it on a Windows machine: no luck. Always the same error message. So, there must
Hi,I'm trying to implement DTLS server using SecureTransport. I've noticed that even if I set a cookie on a server side using SSLSetDatagramHelloCookie, it's not used at all - wireshark shows me that upon receiving 'client hello' my server immediately sends 'server hello' with certificate etc. This is not how DTLS with cookies enabled is supposed to work (and this is NOT how OpenSSL-based server works). I can see in ST's source that it is setting ctx->dtlsCookie, I can also see in coreTLS (in SSL handshake) that it can send a cookie and client hello verify message. But actual framework I have on my macOS is apparently different.Am I missing something?
Hi Jan,I also have 100% the same problem but also no solution. I also found out that as a workaround, you can use the SFAuthenticationSession to sign out.But this is confusing to the end-user.We need to get the cookies deleted. I hope we get an answer.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
Hello,I cannot reply on emails from @apple.com via (GoDaddy secureserver.net), for example to eurodev@apple.com, devitc@apple.com, royalties@apple.comI always receive error 550 5.7.0 Local Policy Violation after each attempt to send mail.Another team member tried to send same mail via gmail, server also returned same error.I have successfully sent mail to eurodev@apple.com from iCloud email that doesn't link to our team.Seems our team members cannot send emails to @apple.com.We have talked with Apple Developer Support via phone, they said is everything fine with our account.They suggest clear cookies in browser.Please check screenshots:https://www.dropbox.com/s/oj8zf6tc9uijiid/screenshot3.png?dl=0https://www.dropbox.com/s/yyyf4acz837v37l/screenshot4.png?dl=0Best Regards.
Wouldn't that run afoul of the 4.3 guideline everyone (who makes cookie cutter apps) is complaining about, regarding spamming the store with almost-identical apps?IAP promo codes do exist and do work. I'm not sure that would help the situation much though. Apple really doesn't seem to encourage arbitrarily charging different people different prices for the same product.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Xcode 9.2 has released today. now my iPhone uses the iOS 11.2 so I tried to update Xcode to 9.2.but it was failed. Every time I tried, the 'An unknown error has occurred' is appeared with 'There was an error in the App Store. Please try again later. (13)' message.what I tried:- delete appstore cookies- delete com.apple.appstore.plistwhat should I do? please help me 😟
I have built a Core Data app which contains a bunch of cookies and their ingredients.If the user elects to allow it, once each week the app sends a Notification suggesting a cookie to make.I have everything working well, but I cannot randomize the cookie displayed unless the user closes and opens the app and triggers the generation of a new UNMutableNotificationContent instance inside AppDelegate.I understand why this is happening, of course. The call to UNUserNotificationCenter.current().add() for the UNNotificationRequest is inside AppDelegate's didFinishLaunchingWithOptions function, so it won't be called unless the app is closed and then opened again, even though the UNCalendarNotificationTrigger is set to repeating. There's no way to assign a new cookie to UNMutableNotificationContent unless the process happens again.But surely this must be something that other developers have solved already.Any ideas?
We are experiencing a very similar issue on an .NET MVC web application, any news? The bug seems to affect a small percentage of user (with various Apple User Agent), from ourlogs it seem that the browser do not send all the cookies through the headers of XMLHttpRequest.Note: Also our missing cookie are HtppOnlyWe will check the article on getting cookie values from response as you suggest.We tried to see if this could be compatible to a header/cookie size limit on the Safari browser (although modern browser seem to have a pretty high size limits),we were able to reproduce the issue adding a batch of cookies to the browser. Unfortunately we could not figure out when and what cookie Safari will delete and there'no documentation on this subject.Any other ideas?
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
Same boat here. We definitely need a way to clear cookies. I thought that maybe popping up a new SFSafariViewController at a logout page would work, but it doesnt.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
Every time I try to open up iCloud Drive in any browser, it Crashes. It says ERROR Invalid cookie - no value in the log file, not sure if that is related or not.I set to Accept all cookies, tried numerous browsers, Reinstalled iCloud drive numerous times. Still, it won't open
You must first send a POST with credentials to https://setup.icloud.com/setup/ws/1/login to get the user and token values (X-APPLE-WEBAUTH-TOKEN and X-APPLE-WEBAUTH-USER which are returned in the cookies) and send them as cookies with your GET request.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
I suspect that the download has failed on the server. You should look at the statusCode property of the URLResponse (you’ll have to cast it to an HTTPURLResponse to access that property). The data you download may also contain a textual description of why it failed. The most likely cause of this problem is authorisation. WKWebView and URLSession do not share an authorisation context, meaning that the authorisation done in the WKWebView does not also apply to your URLSession. So the server doesn’t know that the download request is coming from the same client. The correct way to fix this depends on the server, because different servers use different authorisation strategies. One common strategy is for the server to send the client a cookie and then use that cookie for authorising subsequent requests. You can get this cookie from WKWebView using WKHTTPCookieStore and then apply it to your URLSession request using various Foundation-level APIs. However, it’s hard to offer specific advic
Topic:
App & System Services
SubTopic:
Networking
Tags: