We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b50a0e commit 55b4177Copy full SHA for 55b4177
web-assets/js/setupAuth0WithRedirect.js
@@ -163,6 +163,13 @@ const authSetup = function () {
163
};
164
165
const postLogin = function () {
166
+ if (isLoggedIn() && returnAppUrl) {
167
+ auth0.isAuthenticated().then(function (isAuthenticated) {
168
+ if (isAuthenticated) {
169
+ window.location = returnAppUrl;
170
+ }
171
+ });
172
173
logger('calling postLogin: ', true);
174
logger('callRefreshTokenFun: ', callRefreshTokenFun);
175
if (callRefreshTokenFun != null) {
0 commit comments