Skip to content

[PM-35288] feat: auto-close sso tab after authentication completes#20213

Open
sander-adamse wants to merge 1 commit intobitwarden:mainfrom
sander-adamse:feat/auto-close-sso-tab
Open

[PM-35288] feat: auto-close sso tab after authentication completes#20213
sander-adamse wants to merge 1 commit intobitwarden:mainfrom
sander-adamse:feat/auto-close-sso-tab

Conversation

@sander-adamse
Copy link
Copy Markdown

🎟️ Tracking

Running a pilot with a few hundred users — most of them find the extra browser tab that stays open after SSO really annoying.

📔 Objective

After SSO login, the tab that opens for authentication stays open with a message telling you to close it yourself. That's unnecessary friction. This PR makes the extension close that tab automatically once it has the auth result, so users don't have to deal with it.

Moved the authResult handler from processMessage to processMessageWithSender to get access to the sender's tab ID, then call BrowserApi.closeTab after the SSO result popout opens.

@bitwarden-bot
Copy link
Copy Markdown

Thank you for your contribution! We've added this to our internal Community PR board for review.
ID: PM-35288
Link: https://bitwarden.atlassian.net/browse/PM-35288

Details on our contribution process can be found here: https://contributing.bitwarden.com/contributing/pull-requests/community-pr-process.

@bitwarden-bot bitwarden-bot changed the title feat: auto-close sso tab after authentication completes [PM-35288] feat: auto-close sso tab after authentication completes Apr 16, 2026
@bitwarden-bot bitwarden-bot added community-pr needs-qa Marks a PR as requiring QA approval labels Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-pr needs-qa Marks a PR as requiring QA approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants