xhiroga / aws-peacock-management-console

Browser Extension to show account alias and change color of AWS Management Console, even if AWS SSO.
MIT License
85 stars 10 forks source link

No alias / account name shown, when using AWS IAM Identity Center #76

Closed ash-hannigan closed 7 months ago

ash-hannigan commented 7 months ago

What is the problem?

The account alias or account number isn't being displayed. All I'm getting is role/username. Colors and styles work great!

Reproduction Steps

Setup IAM Identity Center, with password access for users. Connect to account through account access page.

Account formatting is detected, but alias or name is shown.

Let me know what information you need to diagnose and I will be happy to provide.

Browser Name

Edge

Browser Version

121.0.2277.128

Other information

No response

ash-hannigan commented 7 months ago

I just loaded in Chrome, and it works perfectly. It's definitely an Edge specific bug, even though it allows loading of chrome store extensions, I understand that it's not currently a supported platform. Would still be happy to help provide more information if you are willing to look into it?

xhiroga commented 7 months ago

Thank you for using and reporting!

I attempted to reproduce the issue in Edge, but it seems to be working on my end. Hmm.

If @ash-hannigan would like to use Edge in the future, please verify if accountNameList is being retrieved.

Here's the link to the code.

As for the verification method, I'm sorry, but you'll need to add console.log statements yourself and rebuild...

image

ash-hannigan commented 7 months ago

Thanks for responding so quickly. I don't know what it was, but it's working as expected now...