ITM-6: Add missing SSO credentials to hidden Team Chat widget - #62
ITM-6: Add missing SSO credentials to hidden Team Chat widget#62karenndegwa6-creator wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes the Tabbed Dashboard sample’s hidden Team Chat widget initialization so it receives the same SSO credentials as the main dashboard widget, preventing the chat iframe from loading anonymously and hanging (which previously kept dashboard.READY from firing and the Team Chat tab disabled).
Changes:
- Pass
sso: { token, hostId }into the hidden Team ChatCallbridge.Dashboardconstructor to match the main widget’s authenticated setup.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Closing this without merging. Retested the Team Chat hang on the live unpatched Full writeup in iotum/selenium-nodejs#513. Will reopen this if the hang turns up again on a correctly-configured domain. |
Fixes iotum/selenium-nodejs#513.
The hidden Team Chat widget in the Tabbed Dashboard sample is created without the
sso: { token, hostId }block that the main dashboard widget receives via the sharedcreateWidget()helper. Without credentials, its iframe hitsconf/loadinganonymously, redirects tologin/login, and hangs indefinitely, sodashboard.READYnever fires and the Team Chat tab stays disabled forever.This adds the missing
ssoblock to the Team widget'sCallbridge.Dashboardconstructor call, matching the main widget.tokenandhostIdare already in scope in this function (same as used elsewhere inrenderWidget).Verified the root cause live against the deployed sample app (iframe/network inspection) before making this change — details in iotum/selenium-nodejs#513.