diff --git a/packages/auth/src/auth-keycloak.js b/packages/auth/src/auth-keycloak.js
index 60da2375ef0d5b9228234811d338aa5a33f18e13..1f3397116c1381efd5d04957129b18119c6ca358 100644
--- a/packages/auth/src/auth-keycloak.js
+++ b/packages/auth/src/auth-keycloak.js
@@ -171,7 +171,7 @@ export class AuthKeycloak extends AdapterLitElement {
             person: this._user,
         };
 
-        this.setAttribute("data-auth-set", "");
+        this.setAttribute("data-auth-set", "true");
 
         // inject a window.DBPAuth variable for Cypress/Playwright
         if (window.Cypress || window.playwright) {