[PM-4142] Clean Up Pre-Tokenable Token Validation#6972
[PM-4142] Clean Up Pre-Tokenable Token Validation#6972sven-bitwarden wants to merge 3 commits intomainfrom
Conversation
|
Claude finished @sven-bitwarden's task in 1m 20s —— View job Code Review: PM-4142 Clean Up Pre-Tokenable Token ValidationStatus: Approved Summary: This PR removes backwards-compatible token validation code that was kept for migration from the old data protector-based tokens to the new Tokenable system. The changes are well-scoped and remove the correct code paths across multiple files. Changes Reviewed
Review History
Observations
Robot Review | Powered by Claude |
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6972 +/- ##
===========================================
+ Coverage 13.57% 56.23% +42.65%
===========================================
Files 1207 1982 +775
Lines 52379 87621 +35242
Branches 4089 7814 +3725
===========================================
+ Hits 7111 49272 +42161
+ Misses 45135 36521 -8614
- Partials 133 1828 +1695 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
There was a problem hiding this comment.
LGTM! Thank you for cleaning this up!
For the QA notes, please ensure that you request testing of the standard accept org invite flow (+ accepting an org invite into an org where MP policy requirements are in place) and registration via org invite flow.




🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-4142
📔 Objective
This ticket was slated to be done a few releases after Tokenables were introduced, to clean up backwards compatible code left to support both old and new token validation. Given that is has been at least a few releases since now and then, we're free to clean up this code - all tokens are provisioned with the newer APIs.
📸 Screenshots