mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-07 07:15:17 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user