MOBILE-2844 mac: Use inappbrowser for oauth in Mac
parent
336b50cc92
commit
05c552c343
|
@ -647,8 +647,8 @@ export class CoreLoginHelperProvider {
|
||||||
|
|
||||||
loginUrl += '&oauthsso=' + params.id;
|
loginUrl += '&oauthsso=' + params.id;
|
||||||
|
|
||||||
if (this.appProvider.isLinux()) {
|
if (this.appProvider.isLinux() || this.appProvider.isMac()) {
|
||||||
// In Linux desktop apps, always use embedded browser.
|
// In Linux and Mac desktop apps, always use embedded browser.
|
||||||
this.utils.openInApp(loginUrl);
|
this.utils.openInApp(loginUrl);
|
||||||
} else {
|
} else {
|
||||||
// Always open it in browser because the user might have the session stored in there.
|
// Always open it in browser because the user might have the session stored in there.
|
||||||
|
|
Loading…
Reference in New Issue