common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
955 stars 90 forks source link

granted sso generate is not returning all accounts #669

Closed moltar closed 1 month ago

moltar commented 1 month ago

Running:

granted sso generate --sso-region=us-east-1 https://foo.awsapps.com/start

Produces a config with most of the accounts, but one there.

When visiting https://foo.awsapps.com/start page, the account is there.

I have tried clearing all cache.

Any suggestions?

moltar commented 1 month ago

Closing, as this morning, it self-resolved.

No idea why. I did not change anything since yesterday.

It could not have been a cache session because I have cleared them all using granted CLI.

chrnorm commented 1 month ago

Good to hear it’s resolved @moltar. I am wondering if the account was recently assigned via a group membership? We’ve had reports that you need to log out and in in order for the group membership accounts to refresh.

moltar commented 1 month ago

I granted direct access to the account to my user.

Also, the account was visible in both UI and API (via AWS CLI) to my user.

It was only not picked up via granted.