diff --git a/packages/auth/README.md b/packages/auth/README.md index 8d4551e4e47fabb6e833e2b352516e5f7c1eba51..7b78c1e54fc764d5da178b7db0000bbe319b37e5 100644 --- a/packages/auth/README.md +++ b/packages/auth/README.md @@ -39,7 +39,6 @@ npm i @dbp-toolkit/auth ### Events to listen to - `dbp-auth-person-init`: Keycloak person init event - the person entity was loaded from the server -- `dbp-auth-keycloak-data-update`: Keycloak data was updated - happens for example every time after a token refresh ## Login Button diff --git a/packages/auth/src/auth-keycloak.js b/packages/auth/src/auth-keycloak.js index d0ae9864a82d6e0a8b28d2a27d882c19581afaa7..160ea89564298394f01057884f6fe053fa5c089b 100644 --- a/packages/auth/src/auth-keycloak.js +++ b/packages/auth/src/auth-keycloak.js @@ -45,7 +45,6 @@ export class AuthKeycloak extends AdapterLitElement { // Create the events this.personInitEvent = new CustomEvent("dbp-auth-person-init", { "detail": "KeyCloak person init event", bubbles: true, composed: true }); - this.keycloakDataUpdateEvent = new CustomEvent("dbp-auth-keycloak-data-update", { "detail": "KeyCloak data was updated", bubbles: true, composed: true }); this._onKCChanged = this._onKCChanged.bind(this); } @@ -133,8 +132,6 @@ export class AuthKeycloak extends AdapterLitElement { }); }, {}, that.lang); } - - this.dispatchEvent(this.keycloakDataUpdateEvent); } sendSetPropertyEvents() {