Merge pull request #3794 from alfonso-salces/MOBILE-4362
MOBILE-4362 login-helper: Log sso login urlmain
commit
a666a07759
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue