LoginManager now handles the state associated with the authentication flow, and picks the appropriate method of opening the URL associated with an authentication flow.
If the login URL is a web link (https), it chooses between SFAuthenticationSession (iOS 11), SFSafariViewController (iOS 9+), and regular Safari to handle the flow, and receive the response correctly.
If the login is a deeplink, it attempts the deeplink and intelligently chooses a fallback depending on configuration.
As mentioned in #204:
LoginManager
now handles the state associated with the authentication flow, and picks the appropriate method of opening the URL associated with an authentication flow.If the login URL is a web link (https), it chooses between
SFAuthenticationSession
(iOS 11),SFSafariViewController
(iOS 9+), and regular Safari to handle the flow, and receive the response correctly.If the login is a deeplink, it attempts the deeplink and intelligently chooses a fallback depending on configuration.