diff --git a/.changes/next-release/enhancement-sso-4703.json b/.changes/next-release/enhancement-sso-4703.json new file mode 100644 index 000000000000..d4b4dacfb0be --- /dev/null +++ b/.changes/next-release/enhancement-sso-4703.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "sso", + "description": "The browser tab opened by ``aws sso login`` for the Authorization Code flow now makes a best-effort attempt to close itself after a successful login. This is a no-op in browsers that block it (e.g. after an interactive login), where the page continues to display a message that the tab can be closed." +} diff --git a/awscli/customizations/sso/index.html b/awscli/customizations/sso/index.html index 1c2a3b8dfe5b..988de537c826 100644 --- a/awscli/customizations/sso/index.html +++ b/awscli/customizations/sso/index.html @@ -121,8 +121,8 @@

Sign in to AWS

- Your credentials have been shared successfully and can be used until your session expires. You can - now close this tab. + Your credentials have been shared successfully and can be used until your session expires. This tab + will try to close automatically—if it is still open, you can safely close it now.