I also encounter the same problem and, based on my tests and research, yes, it is broken. SFAuthenticationSessions remembers cookies in a single application, but not after restarting the application or between multiple applications (= SSO). I conducted a series of tests with iOS 11.1 beta 1 and Xcode 9.1 beta 1 with the following results:
- Using SFAuthenticationSession for initial login and during the same application launch using another SFAuthenticationSession to check if login is valid (based on cookies). This is working fine.
- Restarting the application and then attempting to check the state of the session will not work, indicating that cookies are not saved.
- Safari ( UIApplication.shared.openURL) SFAuthenticationSession . . Safari SFAuthenticationSession.
- Safari, , , . , Safari cookie. .
, SFAuthenticationSession, , , .
, , Twitter: https://twitter.com/rmondello/status/887434621989789696. , 5 .