diff --git a/Linphone/model/auth/OIDCModel.cpp b/Linphone/model/auth/OIDCModel.cpp index ed9603ae2..0b00e7aca 100644 --- a/Linphone/model/auth/OIDCModel.cpp +++ b/Linphone/model/auth/OIDCModel.cpp @@ -327,7 +327,7 @@ void OIDCModel::openIdConfigReceived() { if (document.isNull()) { lWarning() << log().arg("Reply is empty"); //: OIDC reply is empty ! - // emit requestFailed(tr("oidc_authentication_empty_reply_error")); + emit requestFailed(tr("oidc_authentication_empty_reply_error")); emit finished(); return; } diff --git a/Linphone/model/core/CoreModel.cpp b/Linphone/model/core/CoreModel.cpp index 117b8d412..ab7f740d7 100644 --- a/Linphone/model/core/CoreModel.cpp +++ b/Linphone/model/core/CoreModel.cpp @@ -439,6 +439,10 @@ void CoreModel::onAuthenticationRequested(const std::shared_ptr mustBeInLinphoneThread(log().arg(Q_FUNC_INFO)); lWarning() << log().arg("Request failed") << error; emit oidcRequestFailed(error); + }); + connect(oidcModel, &OIDCModel::finished, this, [this, oidcModel] { + mustBeInLinphoneThread(log().arg(Q_FUNC_INFO)); + lWarning() << log().arg("Request finished"); oidcModel->forceTimeout(); }); if (oidcModel->isTimerRunning()) {