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:
parent
63ad0642ae
commit
0654675f32
9 changed files with 173 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue