Search results for

ASWebAuthenticationSession cookie

1,297 results found

Post

Replies

Boosts

Views

Activity

Reply to ASWebAuthenticationSession won't open the Safari login window on Monterey
This is absolutely not fixed. We use the Auth0 SDK for Oauth2 authentication across various Apple devices, which on macOS wraps ASWebAuthenticationSession, and encounter this behavior relatively frequently. We see it on Monterey, across Safari, Chrome and Brave browsers. I am surprised this isn't getting more attention. The problem is pretty nasty once it triggers -- the user has no idea what is happening or why the login dialog doesn't pop up, and the calling application has no way to detect the condition. We reported it to Auth0 and they closed our bug pretty quickly -- everyone seems to understand this is Apple's problem.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’22
Clear App Cache
I am using WKWebView inside my Swift App for SSO login. Now, SSO session is retained due to cookies saved. In Android there's an option to clear the cache or clear data from their settings Apps. Can I make my iOS App eligible for such a feature? I don't want to give an option inside my Application to clear the cache. is there any external option available which can be used for this inspite of Re-installing the application.
1
0
6.8k
Dec ’21
Reply to Is ASWebAuthenticationSession compatible with App Clips?
I shared my code with my main app target and specified a custom url scheme matching the cloudkit-icloud.[containername]://authToken and I see my ASWebAuthenticationSession getting invoked with the new token. So I know that code is wired up properly and functional It is stated in the Exploring App Clips video that they do not support URL Schemes, when I have the same URL scheme specified, safari says Safari cannot open the page because the address is invalid. which makes sense if the App Clip isn't registering the URL with the system. When I try to use the https:// [advanced-app-clip-invocation-url] safari view controller is redirecting to my web page that matches the app clip url--not the app clip itself. Universal links are also explicitly not supported by App Clips either as per the same app clip video. I know there is a lot of interest in App Clips + CloudKit so I'll continue to post my findings.
Dec ’21
Reply to Cannot add BitBucket Server access token when creating first workflow
I have the same problem :status: 500 content-length: 0 date: Sat, 25 Dec 2021 05:55:05 GMT set-cookie: dqsid=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDA0MTEzOTksImp0aSI6Iloza0htM3pKbjNPVzJFeVpmSVlpd1EifQ.vsHqu0ubLPjSmGSV1mYsWj3Jw_szTv-zLQH1iW7BVng; Max-Age=1800; Expires=Sat, 25 Dec 2021 06:25:04 GMT; Path=/; Secure; HTTPOnly access-control-allow-credentials: true access-control-allow-origin: https://appstoreconnect.apple.com access-control-expose-headers: ETag x-b3-traceid: b7b5752d682d3994 strict-transport-security: max-age=31536000; includeSubDomains; preload x-frame-options: SAMEORIGIN x-content-type-options: nosniff x-xss-protection: 1; mode=block x-apple-jingle-correlation-key: ZERDVHGSF4QEWR77LIJEFP7X5Q x-daiquiri-instance: daiquiri:13851002:mr22p00it-ztbu07032101:7987:21RELEASE200:daiquiri-amp-dsce-asc-int-001-mr x-content-security-policy: script-src 'self' *.apple.com x-daiquiri-instance: daiquiri:18493001:mr85p00it-hyhk03154801:7987:21RELEASE200:daiquiri-amp-all-shared-ext-001-mr x-
Dec ’21
Is ASWebAuthenticationSession compatible with App Clips?
Question: Do App Clips support receiving callbacks from ASWebAuthentictionSession's redirectCallbackURL? Context: I'm trying to get CloudKit working in an app clip. Read support is done, but it would be nice for the user to see the capabilities before full download. Presently, I have the CloudKit Web Services successfully invoking redirectURL within SafariViewController, but I haven't figured out how to get it to direct to something the App Clip can get a hold of. CloudKit allows you to specify three different callbackURLs: https:// [freeform] http:// localhost[freeform] cloudkit-icloud.:// [freeform] I am new to AuthenticationSerivces framework so I may have missed something. The desired OAuth doesn't need to be CloudKit/iCloud but any provider. Everything is working except the redirect URL.
2
0
993
Dec ’21
Reply to How to avoid or stop receiving Push Notifications if the user clear cookies?
Hi @MobileTen, I meant not the user case where the user opted out, but the case when the user keeps opted in and is logged out by clearing the session cookie. I expect the user to stop receiving notifications while logged out without user intervention and resume receiving notifications when logged in. With a manual logout is easy, as the server is aware.
Dec ’21
Reply to How to avoid or stop receiving Push Notifications if the user clear cookies?
Once the user has opted out of Push Notification your sending scripts will get a list of device tokens no longer opted in which you will have to remove from your side as well on receipt of the error report. Cookies are not used. The user has full control of the APNS process. The server is well aware once implemented correctly. https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW1
Dec ’21
How to avoid or stop receiving Push Notifications if the user clear cookies?
Hi there, I'd like to know how to stop sending/receiving Push Notifications when the user clear cookies in Safari, therefore the session / authentication cookie. The server will never learn the cookie was deleted and it will keep sending Push Notifications to the web client although the user will be logged out. Any thoughts? Thank you.
2
0
737
Dec ’21
Safari does not load images after browsing for a while
If you visit the website https://www.deutschlandfunk.de/ (or https://www.deutschlandfunkkultur.de/) with Safari and browse for a while inside that domain (duration is not fixed neither the amount of visited pages), images are not loaded any more (unless they are already in cache). It seems to be necessairy to use the back button while browsing to trigger that behaviour. This issue occurs using the Safari browser on Mac as well as on IPhones and IPads. On iOS it affects Firefox and Chrome too. As soon as the issue occurs, any new image (e.g. image is not in cache storage) will not be shown. A while can be a few hours. We were not able to find out any event that might be causing this issue. Cached Images will be shown. Using the inspector you can see, that the browser tries to load the images, but nothing happens. There is no error or warning. It seems, that the request is not fired at all. Copying the URL of an unloaded image to another browser tab does not load the image neither. Using another browser (on Mac
0
0
1.9k
Dec ’21
Safari Extension: Please make sure your manifest.json file contains valid syntax
This is my manifest.json file for my safari extension that I've just developed: { manifest_version: 2, default_locale: en, name: BeTimeful, description: Never regret going to social media or YouTube again!, version: 1.0, icons: { 48: images/icon-48.png, 64: images/icon-64.png, 96: images/icon-96.png, 128: images/icon-128.png, 256: images/icon-256.png, 512: images/icon-512.png }, web_accessible_resources: [images/*, *], browser_action: { default_popup: popup/index.html, default_title: Betimeful, default_icon: { 16: images/toolbar-icon-16.png, 19: images/toolbar-icon-19.png, 32: images/toolbar-icon-32.png, 38: images/toolbar-icon-38.png, } }, background: { scripts: [Libraries/jquery.js,Libraries/raygun.min.js, js/background.js], persistent: true }, content_scripts: [ { matches: [ *://www.betimeful.com/cancel, *://www.betimeful.com/success ], js: [js/success.js] }, { matches: [*://calendar.google.com/*, http://blank.org/*], js: [ Libraries/jquery.js, Libraries/party.min.js, Libraries/popper.min.js, Libraries/boo
3
0
4.4k
Dec ’21
Signed URLs and Airplay from iOS
I have a video player that streams URLs coming from AWS using a signed cookie method. This works fine when streaming locally on the device, but does not work when attempting to AirPlay. I understand the reason why this is failing due to the AirPlay device not receiving the cookie. Is there a way to pass the cookie along with the AirPlay request? Are there other methods available to accomplish streaming via signed URLs?
0
0
550
Dec ’21
Get HTTP Status code from NWConnection (web-socket) handshake failure
In our Mac application, we are creating a web-socket connection using NWConnection and we are able to successfully establish the connection and read/write data from both sides. We have auth tokens which are sent in headers of NWProtocolWebSocket.Options to the server. If token is good, server accepts the web-socket connection. As per RFC 6455, if server does not want to accept the connection for any reason during web-socket handshake, it returns 403 status code. In our case, if cookies are not valid, server returns 403 during web-socket handshake. However, we could not find a way to read this status code in Network.framework. We are only getting failed state with NWErrorwhich is .posix(53) but there is no indication of the status code 403. We tried looking into protocol metadata on NWConnection object and they are nil. We tested the same using URLSessionWebSocketTask where in failure callback method, we could see 403 status code on task.response which means client is getting the code correctly from s
3
0
1.2k
Nov ’21