[PR #2700] [MERGED] [PM 3513] Fix passwordless 2fa login with device on mobile #34250

Closed
opened 2026-04-21 01:53:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2700
Author: @jlf0dev
Created: 8/17/2023
Status: Merged
Merged: 8/17/2023
Merged by: @jlf0dev

Base: feature/pm-1029-tde-loginHead: auth/pm-3513-resetpassword


📝 Commits (2)

  • fc16678 [PM-3513] Fix 2FA for normal login with device with users without mp
  • 6fabc28 move _userKey

📊 Changes

1 file changed (+9 additions, -6 deletions)

View changed files

📝 src/Core/Services/AuthService.cs (+9 -6)

📄 Description

Type of change

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

Objective

If a user had 2fa enabled on their account and requested device approval from a passwordless device, the user key wasn't being set on the account. This change stores the user key on the auth service so that a second auth request can set it if they are successfully authenticated

Code changes

  • file.ext: Description of what was changed and why

Screenshots

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/2700 **Author:** [@jlf0dev](https://github.com/jlf0dev) **Created:** 8/17/2023 **Status:** ✅ Merged **Merged:** 8/17/2023 **Merged by:** [@jlf0dev](https://github.com/jlf0dev) **Base:** `feature/pm-1029-tde-login` ← **Head:** `auth/pm-3513-resetpassword` --- ### 📝 Commits (2) - [`fc16678`](https://github.com/bitwarden/android/commit/fc16678f8d4909c4376159a117309c0f12d786b0) [PM-3513] Fix 2FA for normal login with device with users without mp - [`6fabc28`](https://github.com/bitwarden/android/commit/6fabc2823d7420897a38e8779cbd9b505652fe9d) move _userKey ### 📊 Changes **1 file changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Services/AuthService.cs` (+9 -6) </details> ### 📄 Description ## Type of change - [x] Bug fix - [ ] 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--> If a user had 2fa enabled on their account and requested device approval from a passwordless device, the user key wasn't being set on the account. This change stores the user key on the auth service so that a second auth request can set it if they are successfully authenticated ## 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--> * **file.ext:** Description of what was changed and why ## Screenshots <!--Required for any UI changes. Delete if not applicable--> ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-21 01:53:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#34250