Search results for

ASWebAuthenticationSession cookie

1,297 results found

Post

Replies

Boosts

Views

Activity

SSO with cookies In Safari
Hi all! Right now I'm trying to implement the SSO (single sign-on) feature for my applications. I have the common-auth domain and a couple of apps (domain AAA and domain BBB). While I'm in domain AAA I sign in with the common-auth domain and got an access token (JWT) as a cookie. Then I continue interactions with the AAA domain. After that, I open the domain BBB in a new tab. The application automatically makes a query to the common-auth server. I expect that the access token cookie, which I got from AAA, will be added to the query. But it's not. I can't fully understand why it's not working. Everything is fin in Chrome, IE, and Firefox. Obviously, there are some restrictions with cookies in Safari. But I'm just a backend developer and right now feel a bit frustrated. How can I bypass that problem? What parameters should I add to the cookie to handle cookie sharing? Would be appreciated any advice or links to docs. PS. I won't use cookies for tracking or f
0
0
1.2k
May ’22
DiskCookieStorage issue
I have been working with react.js and capacitor/ionic using firebase as DB, But while running app on simulator the app stuck on login page it does not login. After R&D we get to know there is some DiskCookieStorage the cookies are not stored in IndexedDB of WKWebView in ios app. Is there any way to resolve this issue.
Topic: Safari & Web SubTopic: General Tags:
0
0
321
May ’22
Reply to Iframe content not loading in Iphone after IOS15 upgrade
Would someone please address this issue! I also have new iPads with 15.4.1 which won't run our web app. iPads with 15.3.1 work fine, as well as Android and Windows. I don't think there is any setting we have tried in the OS. The sessionID cookies are tossed by Safari and Chrome in the new iPads, rendering our app unusable even though it's calling pages from the same domain and session. These new iPads expensive are useless to us without a resolution. We have tried everything we can find in this ASP.net configuration to make sure cookies can be shared and are secure.
Topic: Safari & Web SubTopic: General Tags:
Apr ’22
Reply to ASWebAuthenticationSession won't open the Safari login window on Monterey
Hi guys, We also have similar problem with ASWebAuthenticationSession on 10.15. The issue occurs when Safari is selected as default browser and it is been used for a while before the session starts. When it happens login window does not show up and CompletionHandler is never called. Closing Safari process helps to overcome the issue and the session window appears immediately after the current process is closed. It seems to be something wrong between OS and Safari, which prevents it to behave normally. Any help with the issue would be highly appreciated.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
ASWebAuthenticationSession
Hi all; I am working with an app, which implements the authentication mechanisms based on ASWebAuthenticationSession. However, due to the demands of the app, I need to extract or interact with the cookies that may be generated. Is it possible to extract and parse cookies using this framework? If yes, what would be the most appropriate mechanism for such? Many thanks.
Topic: Safari & Web SubTopic: General Tags:
0
0
627
Apr ’22
Crash when starting session of ASWebAuthenticationSession. EXC_BAD_ACCESS, KERN_INVALID_ADDRESS
Hi, I am writing apps in C++ and Objective-C. I created an instance of ASWebAuthenticationSession and set the presentationContextProvider. Then when I started the session, the app crashed with EXC_BAD_ACCESS (KERN_INVALID_ADDRESS). When I checked the crash log, I found an exception in [SFSafariViewController _setEdgeSwipeDismissalEnabled:]. But since this method is defined within the iOS framework(Xcode13.2.1), I don't know which field is causing the crash. I've done some testing, but I don't get much information : -I have enabled Zombie Object and Address Sanitizer,however I was unable to get any additional information. -I tried to create a new project and used ASWebAuthenticationSession with the same arguments, but I could not reproduce the problem. Can someone please help or any other advice on finding the reasons for this error? OS Version: iPhone OS 14.7.1 (18G82) Release Type: User Baseband Version: 8.80.01 Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype:
0
0
816
Apr ’22
Reply to Is App Tracking Transparency required when displaying websites with a cookie policy within restricted browser APIs ASWebAuthenticationSession & SFSafariViewController
No response received on this from Apple, instead we fixed our issue where it was possible to open the company website from within the ASWebAuthenticationSession. Honestly my anecdotal experience so far is that if someone from the App Review team sees the word Cookies then they will instantly reject the app without considering context or technology.
Apr ’22
ASWebAuthenticationSession MacOS implementation
Hi all; I'm trying to implement ASWebAuthenticationSession on MacOS. The application must be able to open the default browser to interact with the IdP. The implemented code is basic, since what I am trying to understand is how to configure the framework to be able to open the system browser. Based on the documentation I observe this: A browser loads and displays the page, from which the user can authenticate. In iOS, the browser is a secure, embedded web view. In macOS, the system opens the user’s default browser if it supports web authentication sessions, or Safari otherwise. That is, it implies that this would be valid only for iOS, since a view is required where the content can be anchored. With which my understanding is that for MacOS that is not necessary, since the system browser is used. However, when I try to compile the base example, Xcode throws the following message: _Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=2 Cannot start ASWebAuthenticationSession wi
2
0
2.2k
Apr ’22
Safari Crashing whilst using Selenium WebDriver
I´ve been creating a automatic Instagram Login for the past few days now but now I have encountered my probably biggest problem. Whenever I try to click on the Not now Button automatically for Remembering my Password on Instagram, which it does , Safari Crashes completely, not only the automatically processed tabs even the ones no Program is using. This is the code I use to press the Not now Button: new WebDriverWait(driver, Duration.ofSeconds(10)); WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)); WebElement Nichtjetzt = wait.until(ExpectedConditions.elementToBeClickable(By.xpath(//button[text()='Not Now']))); WebElement Notnow = driver.findElement(By.xpath(//button[text()='Not Now'])); ((JavascriptExecutor)driver).executeScript(arguments[0].click();,Notnow); When I now try to execute the Method it will press only essential cookies fill out my username and password and press the login button , but then when it gets to the Press Not now button it will press it and immediately cr
0
0
1.1k
Apr ’22
Expired Cookie Returned in document.cookie
Seeing an issue where document.cookie is returning an expired cookie. This cookie is correctly not sent in requests and is not displayed in the web inspector (Storage -> Cookies). Problem persists until safari is restarted. Affects the following user agents... Mozilla/5.0 (iPhone; CPU iPhone OS 15_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1 Mozilla/5.0 (iPhone; CPU iPhone OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1 Mozilla/5.0 (iPhone; CPU iPhone OS 15_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Flipboard/4.2.140 Mozilla/5.0 (iPad; CPU OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/99.0.4844.59 Mobile/15E148 Safari/604.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15 Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (K
Topic: Safari & Web SubTopic: General Tags:
2
0
1.1k
Mar ’22
watchOS can't open accounts.spotify.com
Hello, I am creating a stand alone watchOS app and I need to authenticate the user with the web api according to the Oauth 2 flow. I am using ASwebauthenticationsession to provide the user a pop up browser to login. For some reason the base URL, accounts.spotify.com opens up a blank white screen for me. I have tried with other URL's and it works perfectly fine, it is only this URL that doesn't work. If theres any other way to authenticate as well, please let me know! Thanks!
0
0
493
Mar ’22