Search results for

ASWebAuthenticationSession cookie

1,295 results found

Post

Replies

Boosts

Views

Activity

Issues with Apple Authentication in CloudKit JS
Hello, everyone! I'm using CloudKit JS with a React SPA to allow users from a mobile app to access their data in a web browser. Currently, the project is still under development so there are no public users beside my team. The way I've integrated CK JS in my app is via their CDN, importing the required url in my index.html file. However, I'm having issues with the Authentication using Apple Sign In. While the Sign In and Sign Out buttons work correctly for me and my teammates, the session is not persisted for everyone. Actually, I'm the only one from me team that does not have to log in every day. I have the following configuration function: export const configureCloudKit = () => { window.CloudKit.configure({ locale: 'en-us', containers: [ { containerIdentifier: CONTAINER_ID, apiTokenAuth: { apiToken: API_TOKEN, persist: true, signInButton: { id: 'apple-sign-in-button', theme: 'black', }, signOutButton: { id: 'apple-sign-out-button', theme: 'black', }, }, environment: 'development', }, ], }); }; As you
1
0
688
Sep ’24
Reply to Issues with Apple Authentication in CloudKit JS
The cookie thing is private, which I am not sure folks can comment a lot. As a specification though, a web authentication token expires 30 minutes after it is created. If the user selects “Keep me signed in” during the sign-in window, the duration of the token is 2 weeks. I am wondering it is that you selected the “Keep me signed in” option and your colleagues didn't. Meanwhile, I am wondering if the CloudKit on the web sample https://cdn.apple-cloudkit.com/cloudkit-catalog/ presents the same behavior. The configuration is pretty much the same as yours. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Sep ’24
Reply to Web storage partitioning should allow subdomains to share data
@Benjamin_D where you able to get answers from Apple or anyone on this? Looking more into Apple's own WebKit definition of website and Cross-site terminology here (https://webkit.org/tracking-prevention/#terminology), there seems to be contradict with Safari's behavior here. Website or site. A website is a registrable domain including all of its subdomains. Others define site to also include the scheme, making http://news.example and https://news.example be two different sites. For the purposes of this document, we consider http and https to be be same site, since cookies can (still) span schemes. Cross-site. The user can be navigated across different websites or a website can load subresources form a different website. These are referred to as cross-site navigations and cross-site loads. When it comes to tracking, cross-site means tracking across different websites. Webkit's definition of Cross-site tracking says When it comes to tracking, cross-site means tracking across different websites. and def
Topic: Safari & Web SubTopic: General Tags:
Sep ’24
Passkey Autofill is not triggered on ASWebAuthenticationSession
After iOS 17.4, Passkey Autofill stopped working inside ASWebAuthenticationSession. iOS 17.5 re-enabled users to pick passkeys if they tap 🔑 icon on right bottom of keyboard and opened Safari password manager. However, it still doesn't recommend passkeys on the first view. Even on the latest iOS 18.0 developer beta, the behaviour is not fixed yet.
1
0
740
Sep ’24
Reply to App Rejected Unable to Login into account for review
Same issue here. We use ASWebAuthenticationSession to login. From what I see in the error the App displays on screen. It looks like a web credentials issue when they test it. On my side, I checked again and again, every thing is fine. I can log in successfully. With previous App Store App, with the same binary in TestFlight. The entitlements are correct in the App, the server are up and running, with correct app-apple-app-site-association files Review device details: Device type: iPad Air (5th generation) OS version: iOS 17.6.1
Aug ’24
How to make ASWebAuthenticationSession working with other browsers
We use ASWebAuthenticationSession in our app to perform SAML auth on iOS devices. It works fine with Safari. However, if we config other browsers, such as Chrome, as a default browser on iOS device, ASWebAuthenticationSession still load Safari in embedded window and auth cookies is only stored in Safari. Can ASWebAuthenticationSession work with default browser on iOS similar as it works on MacOS? Thanks, Ying
1
0
827
Aug ’24
Reply to Get cookies - Safari web extension iOS 18
Confirmed on iOS 18.0 (22A55346a) Thi code executed in the background scope (cookie permission is enabled in the manifest): > await chrome.cookies.getAll({url: 'https://www.apple.com'}) < [] Meantime, I've executed a command in the content scope on https://www.apple.com: > document.cookie.split(/;s?/) < 0 as_dc=ucp6 1 mbox=session#b6e888e3d25a447494058... 2 s_vi=[CS]v1|33670C16F9B818C4-600015E... 3 at_check=true 4 geo=US 5 mk_epub=%7B%22btuid%22%3A%22mn038... 6 s_cc=true 7 s_fid=68F59610D97CF34A-21EA35105ABE...
Topic: Safari & Web SubTopic: General Tags:
Aug ’24
Can't add new build to External Test group, getting 404 error
Hello, I am trying to add a new build of my project which is working on my internal testing group, to my external testing group. I tried to add the new build, and the app was approved for Beta. The new build did not appear in my external testing group. I tried to add it again, but I am now getting this response from the App Store Connect system: errors : [ { id : 33d32e57-100f-4a9f-a2cb-9b0b41d29502, status : 404, code : NOT_FOUND, title : The specified resource does not exist, detail : There is no resource of type 'builds' with id 'a7a3e66a-f120-4ff8-9544-6754f9515458' } ] } Is the App Store Connect system down, or is something wrong with my account? I've tried clearing the browser cache/cookies/etc, and restarting my computer, but the problem is persisting.
3
0
764
Aug ’24
SFSafariViewController lifecycle delegate
Hello, Is it possible to use a delegate or other approach to detect lifecycle events like form submissions / navigation events from the SFSafariViewController from the application that creates the Safari instance? The use case is a centralised session keep-alive requirement to extend the ttl on tokens for multiple third-party clients that use Single-Sign-On via browser cookies for authentication.
Topic: Safari & Web SubTopic: General
1
0
340
Aug ’24
macOS 14.4: fileproviderctl removed listproviders option
Hi all, with yesterday's macOS 14.4 update, fileproviderctl removed the listproviders option. I couldn't find a replacement. Other options like dump domain result in error: Import Cookie: Der Vorgang konnte nicht abgeschlossen werden. (GSLibraryErrorDomain-Fehler 2 - Invalid volume URL) Is there anything I can do about this except for wait for Apple to fix this? Or was removing listproviders even done intentionally? Thanks! Sebastian
7
0
1.7k
Jun ’24