Token refreshes every time keycloak js initialized

Every time the app is initialized, keycloak library updates the token without calling keycloak’s updateToken method. This also heppens when refreshing the page.
Is it possible to prevent this action?

Hello @rafaelkordonias, when Keycloak is initialized it doesn’t have any token, this means that the keycloak adapter needs to obtain a new one. You can change this behavior by initializing the adapter with tokens in the first place. See options token, refreshToken, idToken for init() function: Securing Applications and Services Guide