func completionHandler(code: String?, state: String?, virtualKeyUrl: String?, err: AuthorizationError?,) -> Void { // Receive authorization code } In the new version (6.1.6), after a successful connection, completionHandler is no longer called.