Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1863

Shindig should support Container to force the st on all gadget requests and to be refreshed due to a change it knows about

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0, 2.5.0-beta6
    • Java, Javascript
    • None

    Description

      We have uncovered several use cases request that:
      1. Container's abilty to require a ST for all gadgets and cause it to refresh
      2. Container determines that all STs are invalid (e.g. the user logged out, SSO session times out, etc) ... should be able to force an immediate refresh to reflect the new log in state. where the container wants to force the use of STs on all requests.

      However, there is no API in the container can call to force a refresh of all STs due to a change it knows about (change of logged in user) and if the gadget does not request the "auth-refresh" indirectly, shindig will not refresh its token.

      related java code:

      Boolean needsTokenRefresh =
      isFieldIncluded(fields, "needstokenrefresh") ?
      gadget.getAllFeatures().contains("auth-refresh") : null;

      Attachments

        1. 1863.patch
          11 kB
          Marshall Shi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erikbi Erik BI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: