Search results for

ASWebAuthenticationSession cookie

1,297 results found

Post

Replies

Boosts

Views

Activity

About cookie restrictions in Mac OS X
I would like to ask an additional question about this matter. I would like to ask about cookie restrictions in Mac OS X. ・It is not the default, but can be blocked at will. https://support.apple.com/ja-jp/guide/safari/sfri40732/mac ・It is easy to be blocked because of the active notification as UI. ・In the future, it will most likely be at the same level as iOS. Please let me confirm if this understanding is correct.
0
0
488
Jul ’21
Not getting name and email in Sign in flow, .Net Core
Hi, My app is a .Net Core 3.1 with AddOpenIdConnect and ExternalLogin.cshtml.cs scaffolding template. I've added the scopes but still not getting the name and email under idtoken. I do get the code and idtoken and cookie is generated and app can authenticate but missing user data. Not sure why my /SignInApple callbak is not reach either. I would expecting the user data here too. Should I do a second request based on received code and idtoken? I've checked here but not getting any solutions so far for my case: https://developer.apple.com/forums/thread/118209 Thanks
0
0
460
Jul ’21
Reply to Can't retrieve name and email from Sign In flow
Hello, I'm still not getting the name and email from Sign in Flow. My application is implemented in .Net Core 3.1 using the OpenIdConnect. I've specified the scopes as following but when getting the code and idtoken, not user data is added. .AddOpenIdConnect(Apple, async options => { options.Scope.Clear(); options.Scope.Add(name); options.Scope.Add(email); ... } .. options.Events.OnAuthorizationCodeReceived = async context => { // no user object within the idtoken } The authentication cookie is generated but can't proceed with new account creation. I'm also using the ExternalLogin structure OnGetCallbackAsync. The url seems to have all required info as explained in this ticket. Is someone facing same issue? Thanks
Topic: App & System Services SubTopic: General Tags:
Jul ’21
Reply to Is ATT required for launching out to web?
We eventually resolved this by launching out to Safari instead of using webviews inside our app. Per this link: https://developer.apple.com/app-store/user-privacy-and-data-use/ If tracking occurs within a webview inside an app, do I need to use the AppTrackingTransparency prompt? Yes. If you are using a webview for app functionality, it should be treated the same way as native functionality in your app, unless you are enabling the user to navigate the open web. So if you plan on using a webview to display the content inside your app, and that content uses cookies, you will need to display the ATT popup or you will be rejected. We switched to launching out to Safari instead of keeping them in-app, and we were promptly approved, no need for ATT since our app was no longer able to track the user across sites or apps. Hope that helps.
Jun ’21
Reply to Different SSO behavior for ASWebAuthenticationSession in iOS 14
Hello meaton, I'm working with loula on the same project. The cookies are set on the same domain, so we are not using any third party cookies. This issue is happening in a completely hazardous way so we are not able to reproduce it on our devices. Moreover, we cannot provide an instruments trace since it's affecting our clients (end-users). How can we proceed in this case please ? Regards
Topic: Privacy & Security SubTopic: General Tags:
Jun ’21
App Privacy Webview IP address question
I need a little help making sure I am interpreting the guidelines on privacy correctly. I am getting ready to update my app and it has a WebView in it. The website(it is our website hosted on WordPress) that the WebView accesses does collect the IP address, and it puts a cookie on with a login status. The cookie does not have any information that is able to be tied to the user. The only purpose of the information gathered is to give analytics like how many times a page was accessed. I believe this meets the standard of needing to implement tracking protection using AttTrackingManager. Am I interpreting this correctly?
0
0
638
Jun ’21
Reply to [SSL Pinning] NSPinnedDomains will be honored by which APIs?
thanks so much for your input! So when you talk about bugs are investigated for URLSession and WKWebView I can assume that those APIs are expected to honor NSPinnedDomains? URLSession, yes. WKWebView, I do not know. Last I knew this point was being investigated by that team. Regarding: What about ASWebAuthenticationSession or SFSafariViewController? Should NSPinnedDomains be honored here theoretically? At least in my testing, I was not able to make it work for SFSafariViewController so I even didn't bother to try for ASWebAuthenticationSession I do not have an answer here either. The best recommendation I can provide is if WKWebView is determined to work then I would try NSPinnedDomains with ASWebAuthenticationSession and SFSafariViewController also. If this is not determined to work then I would file Enhancement Requests for these APIs to work with NSPinnedDomains. Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Iframe redirection to parent site is not happening with expected cookies on safari in IOS 14.0
Assume we have two hosts/sites. A & B On site A, we have an iframe to render host/site B. Within the iframe where B is rendered, after some operations, host/site B redirects to site A (in the iframe) using a GET request. In this redirection request, the cookies(of site A) with are missing. The missing cookies are marked http & secure. The above behavior is observed in safari when using ios 14.0 on Iphone 12 pro max. In ios 13 it is working as expected. In the latest version of ios, i.e. 14.6, this issue is reproducible on Iphone but not on Ipad. I'm not sure what is going around. Any inputs? Thanks in advance!
0
0
750
Jun ’21
Reply to [SSL Pinning] NSPinnedDomains will be honored by which APIs?
Hi Matt, thanks so much for your input! So when you talk about bugs are investigated for URLSession and WKWebView I can assume that those APIs are expected to honor NSPinnedDomains and Apple eventually will provide fixes, right? What about ASWebAuthenticationSession or SFSafariViewController? Should NSPinnedDomains be honored here theoretically? At least in my testing, I was not able to make it work for SFSafariViewController so I even didn't bother to try for ASWebAuthenticationSession
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Reply to Different SSO behavior for ASWebAuthenticationSession in iOS 14
When calling the authorization endpoint, after redirection, the cookie is not sent to the authentication server by Safari. The cookie header is empty. If you have an Instruments Trace of this action or a Charles Log I would add it to a bug report. This may be expected if you are relying on third party cookies during your redirect workflow, but the fact that it is working inconsistently sounds like it's grounds for a bug report. Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jun ’21
Reply to Different SSO behavior for ASWebAuthenticationSession in iOS 14
Hello, Thanks for your response. The upgrade to iOS 14.5 fixed the issue only for some users. Not for all of them. I specified the user-agent just to show you that the user who still experience this issue has upgraded to iOS 14.5. Here are the details regarding the circumstances in which the problem occurs: An in-app browser tab is opened (ASWebAuthenticationSession) to let the user login to our application (OIDC flow) The user authenticates and the authentication server redirects him/her (with a 302) to the authorization endpoint with a set-cookie header containing the session cookies (set-cookie: session=xxxxxxxxxx; path=/; expires=Thu, 20 June 2021 20:25:45 GMT; samesite=none; secure; httponly) When calling the authorization endpoint, after redirection, the cookie is not sent to the authentication server by Safari. The cookie header is empty. What is strange is that this only affects some iOS users on different versions including 14.5 ... Regards,
Topic: Privacy & Security SubTopic: General Tags:
Jun ’21
Doesn't WKAppBoundDomains become by default in iOS15?
WKAppBoundDomains was introduced in iOS14. That is not allow evaluate Javascript, touch cookie storage or more without selected domains. I know this is for privacy and security. When it was introduced, I thought it will become default behavior in WKWebView. Doesn't WKAppBoundDomains become by default in iOS15? if not, is there a plan to enable WKAppBoundDomains for all WKWebViews?
0
0
944
Jun ’21