Skip to content

Commit 139ec3d

Browse files
author
Sachin Maheshwari
committed
old session handling
1 parent 55b4177 commit 139ec3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ const authSetup = function () {
167167
auth0.isAuthenticated().then(function (isAuthenticated) {
168168
if (isAuthenticated) {
169169
window.location = returnAppUrl;
170+
} else {
171+
login(); // old session exist case
170172
}
171173
});
172174
}

0 commit comments

Comments
 (0)