Use own implementation of QAbstractOAuthReplyHandler::networkReplyFinished

Authored by nowicki on Oct 7 2018, 7:14 PM.

Description

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.

Details

Committed
nowickiOct 12 2018, 7:53 AM
Parents
R44:ac548ce174b4: Try to refresh the access token if refresh token is available
Branches
Unknown
Tags
Unknown