Uploaded image for project: 'Wookie'
  1. Wookie
  2. WOOKIE-206

SharedDataKey not kept unique internally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1
    • None
    • None

    Description

      In earlier versions of Wookie, we had an "external" shared data key and an "internal" shared data key. The internal version was a hash of the external key + API key + Widget URI. This was to prevent collisions between contexts used in multiple sites.

      However, this seems to have disappeared at some point and now the sharedDataKey is simply persisted as-is. This means that, if you have multiple Wookie-enabled sites which reuse simple shared data keys (e.g. "1") then the widgets will use the same shared data.

      To recreate this problem, configure Wookie with two API keys. Instantiate a chat widget with the same Shared Data Key (e.g. "1") but a different API key. Note that the chat is synchronized across both widgets

      Attachments

        Activity

          People

            scottbw Scott Wilson
            scottbw Scott Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: