Skip to content

PM-35444: bug: Pass org identifier and email directly into continueKeyConnectorLogin function#6817

Merged
david-livefront merged 1 commit intomainfrom
PM-35444-key-connector-org-identifier
Apr 22, 2026
Merged

PM-35444: bug: Pass org identifier and email directly into continueKeyConnectorLogin function#6817
david-livefront merged 1 commit intomainfrom
PM-35444-key-connector-org-identifier

Conversation

@david-livefront
Copy link
Copy Markdown
Collaborator

@david-livefront david-livefront commented Apr 21, 2026

🎟️ Tracking

PM-35444

📔 Objective

This PR updates the Key Connector flow to directly pass in the email and organization identifier when completing the login process. This avoids issues where those values are not yet remembered, or worse, they are remembered but with different values.

@david-livefront david-livefront requested a review from a team as a code owner April 21, 2026 16:45
@github-actions github-actions Bot added the app:password-manager Bitwarden Password Manager app context label Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.32%. Comparing base (88a80cd) to head (72a14f4).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...ture/enterprisesignon/EnterpriseSignOnViewModel.kt 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6817      +/-   ##
==========================================
- Coverage   85.93%   85.32%   -0.61%     
==========================================
  Files         828      928     +100     
  Lines       58505    60667    +2162     
  Branches     8550     8597      +47     
==========================================
+ Hits        50275    51766    +1491     
- Misses       5278     5935     +657     
- Partials     2952     2966      +14     
Flag Coverage Δ
app-data 17.08% <22.22%> (-0.33%) ⬇️
app-ui-auth-tools 20.69% <66.66%> (+0.32%) ⬆️
app-ui-platform 15.63% <0.00%> (+0.38%) ⬆️
app-ui-vault 26.59% <0.00%> (+0.58%) ⬆️
authenticator 6.69% <0.00%> (-0.03%) ⬇️
lib-core-network-bridge 4.27% <0.00%> (-0.02%) ⬇️
lib-data-ui 1.03% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

?: EnterpriseSignOnState(
dialogState = null,
orgIdentifierInput = "",
emailAddress = savedStateHandle.toEnterpriseSignOnArgs().emailAddress,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was kinda funny, I thought I was going to add the email address to this viewModel but it was already in the args 😄

@github-actions
Copy link
Copy Markdown
Contributor

Logo
Checkmarx One – Scan Summary & Details36793aa0-d75f-40da-9dc4-4f89e6cc112f

Great job! No new security vulnerabilities introduced in this pull request

@david-livefront david-livefront changed the title PM-35444: Pass org identifier and email directly into continueKeyConnectorLogin function PM-35444: bug: Pass org identifier and email directly into continueKeyConnectorLogin function Apr 21, 2026
@david-livefront david-livefront added the t:bug Change Type - Bug label Apr 21, 2026
@david-livefront
Copy link
Copy Markdown
Collaborator Author

Thanks @SaintPatrck

@david-livefront david-livefront added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 72cd8f5 Apr 22, 2026
32 of 35 checks passed
@david-livefront david-livefront deleted the PM-35444-key-connector-org-identifier branch April 22, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:password-manager Bitwarden Password Manager app context t:bug Change Type - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants