Search results for

ASWebAuthenticationSession cookie

1,295 results found

Post

Replies

Boosts

Views

Activity

ASPresentationAnchor opens two instances of Safari on Big Sur
Using ASWebAuthenticationSession and ASPresentationAnchor for OAuth has been working as expected but after updating to Big Sur the authentication flow is now opening two Safari windows. This occurs only when Safari is completely shutdown, when an instance is running a single window will be displayed as expected. Microsoft has an example which is having the same issue. https://github.com/Azure-Samples/ms-identity-macOS-swift-objc Has anyone else come across this with Big Sur?
1
0
581
Mar ’21
App Store connect API Key limited to one account
Hi there, We have a developer account that manages many other client accounts (for creating provisioning profiles, releases, etc.). So far we use cookie authentication via fastlane to upload the releases, but we want to move to the API key authentication. The question is: Do we have to create only one API key via Apple Developer Console for our account, or do we have to create a new API key for each individual client account? We have tried to use fastlane with api key and we see only the apps from our own account tho the same user is invited in multiple accounts with the proper permissions. As far as we researched the issue creating a key from our own account should be enough. Should we do something else? Thanks :)
1
0
1.3k
Mar ’21
Reply to WKWebview Cookies not set iframe requests
find the reason: https://webkit.org/blog/11340/new-webkit-features-in-safari-14/ Xcode12 Base SDK iOS14 Xcode11 Base SDK iOS13 iOS 14 WebKit enabled full third-party cookie blocking NSHTTPCookieStorage you can set Cookie Accept Policy as NSHTTPCookieAcceptPolicyAlways, NSHTTPCookieAcceptPolicyNever, NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain but WKWebview no way to set the WKHTTPCookieStorage Cookie Accept Policy.
Topic: Safari & Web SubTopic: General Tags:
Mar ’21
Reply to Unable to Download Big Sur 11.2.1
I kept getting an error message that my internet connection failed when trying to download the update. I have a MacBook Air 2019 and this is what worked for me after trial and error: Cleared cache and cookies in browser Restarted in safe mode While in safe mode, I deleted old files and apps that I don't use and this seemed to move the download along I kept my Mac charging while it was downloading and installing It took about 20-25 minutes to complete.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
The [result] key of response of contentMetadataLookupUrl may be empty.
When using contentMetadataLookupUrl to get information for a custom B2B app, the [result] key may be empty. Request API: https://uclient-api.itunes.apple.com/WebObjects/MZStorePlatform.woa/wa/lookup?version=2&id=1481545259&p=mdm-lockup&caller=MDM&platform=enterprisestore&cc=jp&l=j header: { Content-type: application/json, Cookie': 'itvt=*** } Response { results:{ ★★★empty!★★★ }, version:2, isAuthenticated:false, meta:{ storefront:{ id:143462, cc:JP }, language:{ tag:ja-jp } } } In some cases, the [result] key can be obtained correctly even in the same app. Is anyone experiencing the same phenomenon? Do you know why you can and may not get it?
1
0
822
Feb ’21
QR code reader in iOS 13/iPadOS 13 opens links in a web view which does not have Safari's session cookies
QR code reader in iOS 13/iPadOS 13 opens links in a web view which does not have Safari's session cookies. QR code reader in iOS13/iPadOS13 opens web links in a web view instead of Safari. This is inconsistent with the camera in iOS13/iPadOS13 which opens web links in Safari. The difference here is that the webview used in the QR Coder reader does not have session cookies etc from Safari. I assume that the behaviour is just different here, but it's also possible that the cookies aren't available because of a bug? Did anyone else notice this? The behaviour of the QR code reader in iOS12/iOS13 is different, in iOS12 it nicely open links in real Safari, so the user's cookies can be accessed properly.
2
0
2.4k
Feb ’21
Reply to WKWebview lost cookie when multiple redirect
Met exactly the same scenario :( For example, here is some web client request chain: start from some login request like https://xxxx/sso/login status code 302, redirect to step 2 url some OAuth2.0 request like https://xxx/oauth2/authorize?response_type=code&redirect_uri=xxx status code 302 and response cookie(like some request token token_1), redirect to step 3 url some authenticate request like https://xxx/auth important here, this request will have a cookie like token=token_1 ... While iOS client(use WKWebView) will lost the cookie from the response of step 2. And I tried all the methods in WKNavigationDelegate to intercept these 302 request. ALL FAILED. Can anyone help to fix this terrible issue Orz!!!
Topic: Safari & Web SubTopic: General Tags:
Feb ’21
WKWebview lost cookie when multiple redirect
Hello, I am try to use WKWebview to handle webpage load. But I have met an authorisation cycle.Our website have more than one redirect(302).Just like PageA->PageB-PageC->PageA. The PageC need cookies of PageB'response.The cookies of PageB'response seems like right,I can see the right cookies of response. When PageB redirect to PageC the PageC's request header have no the cookie before.I want to inject cookie, But The delegate of WKWebView can not handle 302 response, So I can not inject cookie in right way?
Topic: Safari & Web SubTopic: General Tags:
7
0
4.1k
Feb ’21
Access HTTPOnly cookies with iOS action extension
I need to send post requests in my iOS action extension, but I need to include HTTPOnly cookies in the request. Is there any way to access them? Using `document.cookie` excludes the HTTPOnly cookies as expected. The requests are always to the same domain as the website so there is no cross domain policy violations. I would send the requests via AJAX, but I need to access data in the extension before and after the request. There's no way to go back and forth between javascript and the extension, correct? Any suggestions are appreciated!
2
0
2.4k
Feb ’21
Reply to Redirection using URLSessionTaskDelegate for POST requests
Take a look at what the server is sending back via POST instead of GET. One way to do that is to use % curl. When I run a POST: curl -v -X POST https://en.wikipedia.org Trying x.x.x.x... TCP_NODELAY set SSL certificate verify ok. Using HTTP2, server supports multi-use Connection state changed (HTTP/2 confirmed) Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 Using Stream ID: 1 (easy handle 0x7fa65a010800) POST / HTTP/2 Host: en.wikipedia.org User-Agent: curl/7.64.1 Accept: Connection state changed (MAX_CONCURRENT_STREAMS == 100)! HTTP/2 411 date: Sat, 13 Feb 2021 20:08:22 GMT server: ATS/8.0.8 cache-control: no-store content-type: text/html content-language: en vary: Accept-Encoding age: 0 x-cache: cp4031 int, cp4032 pass x-cache-status: int-local server-timing: cache;desc=int-local strict-transport-security: max-age=106384710; includeSubDomains; preload set-cookie: GeoIP=; Path=/; secure; Domain=.wikipedia.org !DOCTYPE html When I run a GET: curl -v https://en.wikipedi
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’21
Reporter.jar can't connect to the network
When I attempt to run Reporter.jar on one of our servers, I'm greeted with the error message Network is not available. Check connection and try again.. However, the server does have access to the internet and ipv6 is enabled. With that said, running Reporter.jar on my local machine does not raise this error.Running the Reporter.jar in debug mode also says that it's able to connect.java -jar Reporter.jar p=Reporter.properties m=robot.xml Sales.debugSystem Properties Java: Oracle Corporation 1.7.0_85 OS: Linux 2.6.32-431.17.1.el6.x86_64 amd64 Trying to connect to Sales... Not using a proxy. Connected. Response headers: null: HTTP/1.1 200 OK Content-Language: en-US Date: Mon, 23 Nov 2015 23:42:10 GMT Content-Length: 317 Set-Cookie: JSESSIONID=WYHiofe52hoS0VVwU+gEM6Fi; Path=/reportservice Content-Type: text/html;charset=ISO-8859-1 X-Powered-By: JSP/2.2 Server: Apache-Coyote/1.1 Closing connection... Done.Any help would be appreciated.
9
0
4.9k
Feb ’21