[PM-32598] - Remove Unused sso/details Endpoint + Sprocs#7400
[PM-32598] - Remove Unused sso/details Endpoint + Sprocs#7400sven-bitwarden merged 4 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7400 +/- ##
==========================================
+ Coverage 58.75% 63.23% +4.48%
==========================================
Files 2071 2069 -2
Lines 91252 91188 -64
Branches 8130 8127 -3
==========================================
+ Hits 53611 57660 +4049
+ Misses 35726 31530 -4196
- Partials 1915 1998 +83 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
New Issues (4)Checkmarx found the following issues in this Pull Request
Fixed Issues (4)Great job! The following issues were fixed in this Pull Request
|
eliykat
left a comment
There was a problem hiding this comment.
Just a thought: it's possible this was used by mobile clients, please do a quick check to make sure they're not still using it.
|
@eliykat I did a full code search on the org - mobile "had" usage in archived repos. Only usage outside of clients/server is our rust auto-api-generation. Documented a bit more here - https://bitwarden.atlassian.net/browse/PM-32598?focusedCommentId=145750 |
eliykat
left a comment
There was a problem hiding this comment.
My question has been resolved, I'll leave the rest of the review to @JaredScar
Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR removes the unused Code Review DetailsNo findings. The removal is complete and clean across all layers (API controller, response/data models, repository interface, Dapper and EF implementations, stored procedure, migration, and tests). |
|
@claude please review |
|
Claude finished @JaredScar's task in 1m 31s —— View job Code Review: PM-32598 Remove Unused sso/details Endpoint + Sprocs
Overall: This PR looks good. Clean removal of an unused and potentially risky endpoint. No issues found. What the PR doesRemoves the SecurityThe removed endpoint was Review findingsNo issues found. Specifically verified:
|
JaredScar
left a comment
There was a problem hiding this comment.
Looks good! Removing code is always fun lol
a71e47c
|






🎟️ Tracking
PM-32598
📔 Objective
This endpoint was responsible for some recent vulnerability investigation, because it could be inadvertently used to grab SSO details for a given identifier even when unverified. We don't have a need to display unverified SSO information this way, so we're preemptively removing the landmine. This endpoint has since been superseded by
sso/verified, which of course only returns verified domains.Sister frontend pr: bitwarden/clients#20012
Warning
This drops the stored procedure as well. Because it's unused, I don't believe there's any special considerations needs followed for EDD.