Closed rafaltrojniak closed 3 months ago
Hi @rafaltrojniak thanks for reporting this. There is some ongoing work on the AWS CLI Snap package which is being tracked here: https://github.com/aws/aws-cli/issues/6010. As mentioned in this comment from earlier today, the team is investigating issues caused by strict confinement, but for now we can continue tracking this issue here.
Checking in, the AWS CLI version on Snapcraft is now up to date (https://snapcraft.io/aws-cli). Is this still an issue in the latest version?
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
Describe the bug
When running
aws sso login
, I would expect the web browser to open automatically and present confirmation page. Instead of that, web browser does not open, and I have to open it manually.Expected Behavior
Web browser to open and direct to confirmation/verification page of SSO process
Current Behavior
Web page does not open, and given message is presented:
Additionally following error is logged bu auditd
Reproduction Steps
Install aws-cli from snap
Configure your
sso_start_url
andsso_region
Run the
aws sso login
Possible Solution
Add
desktop
plug into the snap configuration, just like done here https://github.com/nysasounds/amz-aws-cli/commit/0bf2243bdac80aec3c2a38a8c426f5839b6ad23cAdditional Information/Context
No response
CLI version used
aws-cli 2.9.19 snap (178)
Environment details (OS name and version, etc.)
Ubuntu 22.04