-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
The currency and cost-type dropdowns are automatically being reset to default values after the sso token request (made by UI).
200- POST - https://sso.stage.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
This issue is reproducible in both stage preview and prod!
See the attached video:
1. in the beginning of the video, ** all dropdowns on AWS Cost Explorer page are set to non-default values:
- cost-type: Amortized
- currency: CHF
- group-by: Region
- date range: Previous month to month to date
2. page is reloaded after a new sso token request (the request is visible in the network console)
3. currency and cost-type dropdowns are reset to USD and Unblended (default values stored in cost-mgmt setttings). Remaining dropdowns are unaffected.
Steps to reproduce
1. log as cost-demo user to stage preview
2. navigate to AWS Cost Explorer page
3. change all dropdowns to non-default values, for example:
- cost-type: Amortized
- currency: CHF
- group-by: Region
- date range: Previous month to date
4. in the network console check the last time the following request was made
/auth/realms/redhat-external/protocol/openid-connect/token
5. after approximately ~ 14 mins after the last token request, another token request will be automatically sent and you will see that currency and cost-type dropdowns will be automatically reset to default values (USD and unblended cost) and the graph and table will be reloaded.
The group-by and date range dropdowns are not affected (they will be still set to group-by Region and Previous month to date)