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,
|
redirectData?: CoreRedirectPayload,
|
||||||
): boolean {
|
): boolean {
|
||||||
launchUrl = launchUrl || siteUrl + '/admin/tool/mobile/launch.php';
|
launchUrl = launchUrl || siteUrl + '/admin/tool/mobile/launch.php';
|
||||||
|
|
||||||
|
this.logger.debug('openBrowserForOAuthLogin launchUrl:', launchUrl);
|
||||||
|
|
||||||
if (!provider || !provider.url) {
|
if (!provider || !provider.url) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -670,6 +673,8 @@ export class CoreLoginHelperProvider {
|
||||||
): void {
|
): void {
|
||||||
const loginUrl = this.prepareForSSOLogin(siteUrl, service, launchUrl, redirectData);
|
const loginUrl = this.prepareForSSOLogin(siteUrl, service, launchUrl, redirectData);
|
||||||
|
|
||||||
|
this.logger.debug('openBrowserForSSOLogin loginUrl:', loginUrl);
|
||||||
|
|
||||||
if (this.isSSOEmbeddedBrowser(typeOfLogin)) {
|
if (this.isSSOEmbeddedBrowser(typeOfLogin)) {
|
||||||
CoreUtils.openInApp(loginUrl, {
|
CoreUtils.openInApp(loginUrl, {
|
||||||
clearsessioncache: 'yes', // Clear the session cache to allow for multiple logins.
|
clearsessioncache: 'yes', // Clear the session cache to allow for multiple logins.
|
||||||
|
|
Loading…
Reference in New Issue