Add descriptive error to updateToken()
(#34113)
Closes #13852 Signed-off-by: Dami <74161050+adropofliquid@users.noreply.github.com>
This commit is contained in:
parent
e6e2bfdf30
commit
cef0231bf0
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ function Keycloak (config) {
|
||||||
|
|
||||||
kc.onAuthRefreshError && kc.onAuthRefreshError();
|
kc.onAuthRefreshError && kc.onAuthRefreshError();
|
||||||
for (var p = refreshQueue.pop(); p != null; p = refreshQueue.pop()) {
|
for (var p = refreshQueue.pop(); p != null; p = refreshQueue.pop()) {
|
||||||
p.setError(true);
|
p.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue