-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Auth/PM-3287 - Clean up deprecated resetMasterPassword from IdentityTokenResponse + usages #17794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…nResponse and replace with userDecryptionOptions where relevant
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17794 +/- ##
==========================================
- Coverage 41.85% 41.84% -0.01%
==========================================
Files 3589 3589
Lines 104192 104196 +4
Branches 15719 15721 +2
==========================================
- Hits 43608 43601 -7
- Misses 58730 58739 +9
- Partials 1854 1856 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @JaredSnider-Bitwarden's task —— View job PR Review Complete ✅I've completed a comprehensive review of the changes to remove the deprecated SummaryThis PR successfully removes the 2-year-old deprecated Key Changes Analysis✅ Core Removals (Clean)
✅ Replacement Logic (Well-Implemented)CLI Login Command (
Angular Components:
Issues Found
|
…nup-remove-reset-master-password-from-token-response + merge conflict fixes
…conditional + log user out upon error.
…-password-from-token-response
…nal location to avoid putting it before 2FA rejection handling.
|
@rr-bw , when I moved the validation logic up next to the SSO login logic, I introduced a bug (https://bitwarden.atlassian.net/browse/PM-29462) where 2FA rejections (which were handled down below the validation) were no longer successful. I've resolved this issue now. PM-3287.-.CLI.Login.with.SSO.+.2FA.working.again.mov |

🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-3287
Server PR: bitwarden/server#6676
📔 Objective
To remove the 2 year old, deprecated
ResetMasterPasswordproperty which used to indicate if a user had a master password set or not. It has been replaced by theUserDecryptionOptionsproperty.📸 Screenshots
n/a
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes