Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.0
-
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
Attachments
Issue Links
- is blocked by
-
SHINDIG-1924 Common container mechanisms to support refreshing all gadget tokens have JavaScript errors
-
- Resolved
-
-
SHINDIG-1929 CLONE - Common container mechanisms to support refreshing all gadget tokens have JavaScript errors
-
- Resolved
-