Use own implementation of QAbstractOAuthReplyHandler::networkReplyFinished
The implementation inside QOauthOobReplyHandler has one major problem - in case something goes south it only prints an error to the log and exits leaving the authentication process hanging and waiting for something that will never come. Instead use an additional signal to notify the OAuth2 authentication controller that a problem occurred so that the state can be safely reset.
parent
ac548ce1
Please register or sign in to comment