@salesforcedevs/dx-components 0.59.0-avatar-button-13 → 0.59.0-avatar-button-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -108,6 +108,14 @@ export default class AvatarButton extends LightningElement {
|
|
|
108
108
|
// Always clear the session token; if not SSO logout, this will also revoke the token with
|
|
109
109
|
// TBID; if SSO logout, that step is already taken care of
|
|
110
110
|
fetch(`${TBID_API_LOGOUT_URL}?isSsoLogout=${isSsoLogout}`); // no need to await this
|
|
111
|
+
if (!isSsoLogout) {
|
|
112
|
+
const ifr = document.createElement("iframe");
|
|
113
|
+
ifr.setAttribute(
|
|
114
|
+
"src",
|
|
115
|
+
"https://dev1-trailblazer-identity.cs192.force.com/secur/logout.jsp"
|
|
116
|
+
);
|
|
117
|
+
document.body.appendChild(ifr);
|
|
118
|
+
}
|
|
111
119
|
}
|
|
112
120
|
};
|
|
113
121
|
|
|
@@ -144,6 +152,7 @@ export default class AvatarButton extends LightningElement {
|
|
|
144
152
|
|
|
145
153
|
if (userInfo) {
|
|
146
154
|
this.updateAvatarWithUserInfo(userInfo);
|
|
155
|
+
this._didReceiveUserInfo = true;
|
|
147
156
|
}
|
|
148
157
|
};
|
|
149
158
|
|