** For SSO to work, tokens need to be shared between apps. The following tables summarize the SSO experiences per browser. The browser you use impacts the SSO experience because of how they share cookies. WKWebView is a cross-platform browser that is available for both iOS and macOS. It doesn't share cookies or web site data with other WKWebView instances, or with the Safari browser. WKWebView is an in-app browser that displays web content. In iOS 9 and 10, cookies and other website data are shared with Safari-but not in iOS 11 and later. SFSafariViewController is more general purpose and provides an interface for browsing the web and can be used for login purposes as well.SFAuthenticationSession is the iOS 11 version of ASWebAuthenticationSession.Default configuration for iOS Versionĭevelopers can also select a different system browser for MSAL apps: On iOS 12+ it will be ASWebAuthenticationSession. In general, system browsers share cookies and other website data with the Safari browser application.īy default, MSAL will dynamically detect iOS version and select the recommended system browser available on that version. For macOS, only ASWebAuthenticationSession is available. System browsersįor iOS, ASWebAuthenticationSession, SFAuthenticationSession, and SFSafariViewController are considered system browsers. ASWebAuthenticationSession is only supported on macOS 10.15 and above. MSAL for macOS only supports WKWebView on older OS versions. You can change the experience by customizing the configuration to other options for displaying web content, such as: Using the system browser has the advantage of sharing the single sign-on (SSO) state with other applications and with web applications. On iOS and macOS 10.15+, the Microsoft Authentication Library (MSAL) uses the system web browser by default (which might appear on top of your app) to do interactive authentication to sign in users. A web browser is required for interactive authentication.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |