UI: Add support for external browser OAuth

(Jim note: Adds abstraction to the OAuth class to allow the ability to
perform OAuth via external browser, and adds an AuthListener to act as
the local auth server.)
This commit is contained in:
Yuriy Chumak
2021-06-27 05:27:12 -07:00
committed by jp9000
parent 63ad0642ae
commit 0654675f32
9 changed files with 173 additions and 5 deletions

View File

@@ -560,7 +560,8 @@ void OBSBasicSettings::OnAuthConnected()
std::string service = QT_TO_UTF8(ui->service->currentText());
Auth::Type type = Auth::AuthType(service);
if (type == Auth::Type::OAuth_StreamKey) {
if (type == Auth::Type::OAuth_StreamKey ||
type == Auth::Type::OAuth_LinkedAccount) {
OnOAuthStreamKeyConnected();
}