diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index a72768c43..02eff198e 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -417,6 +417,8 @@ void AutoConfigStreamPage::on_connectAccount_clicked() #ifdef BROWSER_AVAILABLE std::string service = QT_TO_UTF8(ui->service->currentText()); + OAuth::DeleteCookies(service); + auth = OAuthStreamKey::Login(this, service); if (!!auth) OnAuthConnected(); diff --git a/UI/window-basic-settings-stream.cpp b/UI/window-basic-settings-stream.cpp index f09508462..ae47eb288 100644 --- a/UI/window-basic-settings-stream.cpp +++ b/UI/window-basic-settings-stream.cpp @@ -466,6 +466,8 @@ void OBSBasicSettings::on_connectAccount_clicked() #ifdef BROWSER_AVAILABLE std::string service = QT_TO_UTF8(ui->service->currentText()); + OAuth::DeleteCookies(service); + auth = OAuthStreamKey::Login(this, service); if (!!auth) OnAuthConnected();