Skip to content

Commit b3dd96f

Browse files
committed
fix refresh token
1 parent fc10a8a commit b3dd96f

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
@@ -127,7 +127,7 @@ const authSetup = function () {
127127
let issuer = tokenJson.iss;
128128
issuerHostname = extractHostname(issuer);
129129
}
130-
if (domain !== issuerHostname) {
130+
if (issuerHostname && domain !== issuerHostname) {
131131
domain = issuerHostname;
132132
logger("reintialize auth0 for new domain..", domain);
133133
createAuth0Client({

0 commit comments

Comments
 (0)