Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix breakage caused by new AWS Access Portal design #13

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

yannrouillard
Copy link
Owner

AWS deployed progressively a new design for their AWS SSO Portal Page UI which breaks the parsing logic of this extension.
In addition, the format of the connection URL for each target profile changed and doesn't include anymore the AWS account name information.

This commit fixes the issues by adding new parser logic for the new layout. We still support the legacy AWS access portal as it might still be available for some customers.

The new connection URL format is more tricky as the lack of account name information will cause the created container to contain the account id instead of the account name unless the user explicitly loaded the list of profile name from the portal page first (which should be the usual usage with this extension).

There is no perfect solution for that issue, for now we fallback to displaying the account id instead of the account name. We might improve that later if we can get the account name information on the fly when the user went throught the SSO portal page before.

@yannrouillard yannrouillard self-assigned this Mar 29, 2024
AWS deployed progressively a new design for their AWS SSO Portal Page UI
which breaks the parsing logic of this extension.
In addition, the format of the connection URL for each target profile
changed and doesn't include anymore the AWS account name information.

This commit fixes the issues by adding new parser logic for the new
layout. We still support the legacy AWS access portal as it might still
be available for some customers.

The new connection URL format is more tricky as the lack of account name
information will cause the created container to contain the account id
instead of the account name unless the user explicitly loaded the list of
profile name from the portal page first (which should be the usual usage
with this extension).

There is no perfect solution for that issue, for now we fallback to
displaying the account id instead of the account name.
We might improve that later if we can get the account name information
on the fly when the user went throught the SSO portal page before.
By using a class, we can now have better flexibility to implement the
various attributes of an aws profile.
In particular, `title` and `id` are now dynamically computed base on
other attributes. It allows us to better support both the new and legacy
aws portal layout, as we can have some case where we don't have the
account name with the latter.
@yannrouillard yannrouillard force-pushed the fix/adapt-to-last-aws-console-update branch from 7af6119 to 10fdfed Compare March 29, 2024 15:01
@yannrouillard yannrouillard merged commit 4f2fbac into main Mar 29, 2024
1 check passed
@yannrouillard yannrouillard deleted the fix/adapt-to-last-aws-console-update branch March 29, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant