diff --git a/packages/auth/src/keycloak.js b/packages/auth/src/keycloak.js
index 42db6858c48cede6a0169b3bb52137f39d0e90b3..b0b210d7bea40e57344df7f0b40fc4c05dfd63c4 100644
--- a/packages/auth/src/keycloak.js
+++ b/packages/auth/src/keycloak.js
@@ -55,15 +55,6 @@ const ensureURL = function(urlOrPath) {
  */
 export class KeycloakWrapper extends EventTarget {
 
-    /* Minimum validity of the token in seconds */
-    MIN_VALIDITY = 20;
-
-    /* Interval at which the token validity is checked, in seconds */
-    CHECK_INTERVAL = 10;
-
-    /* Enables extra debug logging */
-    DEBUG = false;
-
     constructor(baseURL, realm, clientId, silentCheckSsoUri, idpHint) {
         super();
 
@@ -76,6 +67,15 @@ export class KeycloakWrapper extends EventTarget {
         this._idpHint = idpHint;
         this._checkId = null;
 
+        /* Minimum validity of the token in seconds */
+        this.MIN_VALIDITY = 20;
+
+        /* Interval at which the token validity is checked, in seconds */
+        this.CHECK_INTERVAL = 10;
+
+        /* Enables extra debug logging */
+        this.DEBUG = false;
+
         this._onVisibilityChanged = this._onVisibilityChanged.bind(this);
         document.addEventListener("visibilitychange", this._onVisibilityChanged);
     }