WTFender / aws-sso-extender

Browser Extension for AWS SSO / Identity Center
https://wtfender.com/posts/aws-sso-extender
MIT License
55 stars 9 forks source link

Custom labels and colors don't always apply, and once applies it always shows the same, independent of account/login #20

Closed renataogarcia closed 1 year ago

renataogarcia commented 1 year ago

It doesn´t always apply the custom values and once applied it never changes. E.g. Log to Staging, then log into Prod and it still shows Staging in the header, even though it is a different environment.

WTFender commented 1 year ago

This is fixed in v1.2.5 - please let me know if it's still happening.

I wasn't checking the console accountId; it was applying the values for the first matching roleName.

renataogarcia commented 1 year ago

Works like a charm! Thanks!