-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
Force clear the entitlement cache and update the users entitlements when trial_activated=true appears in the URL query string.
Problem:
Entitlement currently caches in the console for 10 minutes. We send users from console to get a free trial from Red Hat Product Trial system, but when they return after activating their trial the entitlement is still cached and they aren't able to use the service.
Example:
- Click "Start a free trial" on: https://console.redhat.com/application-services/acs/overview
- Activate your free trial by clicking the button on the RHPT page (redhat.com/acstrial)
- When you return to https://console.redhat.com/application-services/acs/overview?trial_activated=true you aren't able to use ACS yet because entitlement is still cached from the first page view
Other Notes:
- The Red Hat product trial system can use this pattern in the future for other product trials that depend on entitlements updating immediately after a new trial is activated (but should only be used when necessary).
- Ansible currently uses an alternative workaround for their trial
- I'm open to other options - this just seemed the most straight forward and fairly reasonable
- depends on
-
RHCLOUD-28782 Entitlements API | Cache busting Parameter Support
-
- Closed
-