You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to specify a timeout, say 2 minutes, for the updateToken HTTP request. Currently if the HTTP request is stuck as "Pending", Keycloak will be stuck and can't refresh the token anymore (due to how the updateToken method is implemented).
Discussion
No response
Motivation
If the HTTP request is stuck, Keycloak JavaScript adapter can't update the token anymore even with repeated updateToken requests.
Details
This could be specified as an option when constructing Keycloak. Alternatively (less ideal in my opinion), as a parameter to updateToken method.
Description
It should be possible to specify a timeout, say 2 minutes, for the
updateToken
HTTP request. Currently if the HTTP request is stuck as "Pending", Keycloak will be stuck and can't refresh the token anymore (due to how the updateToken method is implemented).Discussion
No response
Motivation
If the HTTP request is stuck, Keycloak JavaScript adapter can't update the token anymore even with repeated updateToken requests.
Details
This could be specified as an option when constructing Keycloak. Alternatively (less ideal in my opinion), as a parameter to
updateToken
method.The timeout is simple to implement with https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout.
The text was updated successfully, but these errors were encountered: