diff --git a/src/core/features/login/services/login-helper.ts b/src/core/features/login/services/login-helper.ts index 3ae5297f3..368a69a6a 100644 --- a/src/core/features/login/services/login-helper.ts +++ b/src/core/features/login/services/login-helper.ts @@ -631,6 +631,9 @@ export class CoreLoginHelperProvider { redirectData?: CoreRedirectPayload, ): boolean { launchUrl = launchUrl || siteUrl + '/admin/tool/mobile/launch.php'; + + this.logger.debug('openBrowserForOAuthLogin launchUrl:', launchUrl); + if (!provider || !provider.url) { return false; } @@ -670,6 +673,8 @@ export class CoreLoginHelperProvider { ): void { const loginUrl = this.prepareForSSOLogin(siteUrl, service, launchUrl, redirectData); + this.logger.debug('openBrowserForSSOLogin loginUrl:', loginUrl); + if (this.isSSOEmbeddedBrowser(typeOfLogin)) { CoreUtils.openInApp(loginUrl, { clearsessioncache: 'yes', // Clear the session cache to allow for multiple logins.