Skip to content

Commit 8a7af15

Browse files
committed
logs: add logs
1 parent 50185c5 commit 8a7af15

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ const authSetup = function () {
4747
let returnAppUrl = handleSpecificReturnUrl(qs['retUrl'], 'retUrl');
4848
let appUrl = qs['appUrl'] || false;
4949

50+
console.log('returnAppUrl', returnAppUrl);
51+
console.log('appUrl', appUrl);
52+
5053
if (utmSource &&
5154
(utmSource != 'undefined') &&
5255
(enterpriseCustomers.indexOf(utmSource) > -1)) {
@@ -316,7 +319,7 @@ const authSetup = function () {
316319
if (showOnboardingWizard) {
317320
logger('Take user to onboarding wizard', showOnboardingWizard);
318321
if (showOnboardingWizard === 'useRetUrl') {
319-
logger('Need to persist appUrl', returnAppUrl)
322+
logger('Need to persist appUrl', returnAppUrl, appUrl);
320323
setCookie('returnAfterOnboard', returnAppUrl) // TODO: use localStorage instead?
321324
}
322325
redirectToOnboardingWizard(returnAppUrl);

0 commit comments

Comments
 (0)