Posts

Post not yet marked as solved
0 Replies
412 Views
I know that ASWebAuthenticationSession usually is used with OAuth and similar protocols, but now I' interested, does ASWebAuthenticationSession supports other auth types? I've made such tests (iOS 14.5, Xcode 12.5.1): Tested ASWebAuthenticationSession with kerberos/negotiate URL (with callback scheme http) - SFSafariViewController loads error page with 401 error and no alert for creds; completion handler of ASWebAuthenticationSession is not called; Tested ASWebAuthenticationSession with NTLM, Digest and Basic URLs (with callback scheme http) - SFSafariViewController shows alert for creds; with correct creds content is shown; completion handler of ASWebAuthenticationSession also is not called; Performed the same test with SFSafariViewController - same results. Do I understand correctly, that ASWebAuthenticationSession doesn't support such auth types, but SFSafariViewController supports them? Why SFSafariViewController doesn't show alert for creds in case of kerberos/negotiate auth?
Posted
by DenisZorg.
Last updated
.
Post not yet marked as solved
1 Replies
316 Views
Trying to understand, how is working sharedCookieStorageForGroupContainerIdentifier on iOS. According to Apple docs: "You can use this method to create a persistent cookie storage available to all apps and extensions with access to the same app group." Question is - where exactly such cookie store is located, what path it is? Do I understand correctly, that path could be found using [NSFileManager containerURLForSecurityApplicationGroupIdentifier:] method?
Posted
by DenisZorg.
Last updated
.