[PR #2655] [PM-1208] Add TDE flows for new users #3709

Closed
opened 2025-11-26 23:36:23 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/2655

State: closed
Merged: Yes


Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Add necessary login flows to new users after SSO login using TDE.

Code changes

src/App/Pages/Accounts/LockPageViewModel.cs:
Log user out if they have a pending auth request or if they have TDE enabled and don't have a master password nor PIN or Biometrics

src/App/Pages/Accounts/LoginSsoPageViewModel.cs:
Auto check if the users pending auth request has been accepted.

src/Core/Services/PasswordResetEnrollmentService.cs
Service containing new user org auto enrolment.

Screenshots

New user first time login:

https://github.com/bitwarden/mobile/assets/4648522/08c3e558-f290-4d95-b9f6-9873593af2aa

New user after auto enrolment:

https://github.com/bitwarden/mobile/assets/4648522/6a3104f9-0da5-4d84-ae12-cb9872668895

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
**Original Pull Request:** https://github.com/bitwarden/android/pull/2655 **State:** closed **Merged:** Yes --- ## Type of change - [ ] Bug fix - [X] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Add necessary login flows to new users after SSO login using TDE. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> **src/App/Pages/Accounts/LockPageViewModel.cs:** Log user out if they have a pending auth request or if they have TDE enabled and don't have a master password nor PIN or Biometrics **src/App/Pages/Accounts/LoginSsoPageViewModel.cs:** Auto check if the users pending auth request has been accepted. **src/Core/Services/PasswordResetEnrollmentService.cs** Service containing new user org auto enrolment. ## Screenshots <!--Required for any UI changes. Delete if not applicable--> New user first time login: https://github.com/bitwarden/mobile/assets/4648522/08c3e558-f290-4d95-b9f6-9873593af2aa New user after auto enrolment: https://github.com/bitwarden/mobile/assets/4648522/6a3104f9-0da5-4d84-ae12-cb9872668895 ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team
GiteaMirror added the pull-request label 2025-11-26 23:36:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3709