Skip to content

Commit c7ebdb3

Browse files
author
Sachin Maheshwari
committed
fixing logout issue for OR
1 parent 4640be8 commit c7ebdb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const authSetup = function () {
8888
logger('handleRedirectCallback() error: ', e);
8989
});
9090
} else if (shouldLogout) {
91-
host = returnAppUrl ? returnAppUrl : host;
91+
host = returnAppUrl ? decodeURIComponent(returnAppUrl) : host;
9292
logout();
9393
return;
9494
} else if (!isLoggedIn() && returnAppUrl) {

0 commit comments

Comments
 (0)