From 336b50cc9281f1a827b9b4360ad26a5fb9acca9e Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 25 Jan 2019 11:30:46 +0100 Subject: [PATCH] MOBILE-2829 mac: Use inappbrowser for SSO in Mac --- desktop/assets/mac/parent.plist | 2 -- src/core/login/providers/helper.ts | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/desktop/assets/mac/parent.plist b/desktop/assets/mac/parent.plist index 0941fd051..9e39db337 100644 --- a/desktop/assets/mac/parent.plist +++ b/desktop/assets/mac/parent.plist @@ -16,7 +16,5 @@ com.apple.security.device.audio-input - LSMultipleInstancesProhibited - \ No newline at end of file diff --git a/src/core/login/providers/helper.ts b/src/core/login/providers/helper.ts index 9cebad238..5c51f6aae 100644 --- a/src/core/login/providers/helper.ts +++ b/src/core/login/providers/helper.ts @@ -561,8 +561,8 @@ export class CoreLoginHelperProvider { * @return {boolean} True if embedded browser, false othwerise. */ isSSOEmbeddedBrowser(code: number): boolean { - if (this.appProvider.isLinux()) { - // In Linux desktop apps, always use embedded browser. + if (this.appProvider.isLinux() || this.appProvider.isMac()) { + // In Linux and Mac desktop apps, always use embedded browser. return true; }