srkno
#1
Hi,
I’m having an issue trying to log in with OAuth 2.0 on physical device. It works when native twitter app not installed on device. But if twitter app is installed on device it stucks after entering username and password like this.
P.S: prefersEphemeralWebBrowserSession = true
let session = ASWebAuthenticationSession(url: authorizeURL, callbackURLScheme: self.urlScheme) { [weak self] url, error in
//not enters this line
guard self != nil else { return }
}
session.presentationContextProvider = self
session.prefersEphemeralWebBrowserSession = true
session.start()
system
Closed
#2
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.