Skip to content

Commit b45d1fa

Browse files
author
Sachin Maheshwari
committed
changes for enterprise customer handling
1 parent 2f59a54 commit b45d1fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const authSetup = function () {
3333
const cookieExpireIn = 12 * 60; // 12 hrs
3434
const refreshTokenInterval = 60000; // in milliseconds
3535
const refreshTokenOffset = 65; // in seconds
36-
const returnAppUrl = qs['retUrl'];
36+
let returnAppUrl = qs['retUrl'];
3737
const shouldLogout = qs['logout'];
3838
const regSource = qs['regSource'];
3939
const utmSource = qs['utm_source'];
@@ -43,6 +43,7 @@ const authSetup = function () {
4343

4444
if (utmSource && utmSource != 'undefined') {
4545
domain = "topcoder-dev.auth0.com";
46+
returnAppUrl += '&utm_source=' + utmSource;
4647
}
4748

4849

0 commit comments

Comments
 (0)