[PR #2707] [MERGED] [PM-3513] Show error SSO policy #9900

Closed
opened 2026-04-11 02:31:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2707
Author: @andrebispo5
Created: 8/18/2023
Status: Merged
Merged: 8/18/2023
Merged by: @andrebispo5

Base: masterHead: auth/pm-3513-ssopolicy


📝 Commits (2)

  • fa144bd [PM-3513] Show API error when SSO policy is enforced.
  • ea0162a [PM-3513] PR fix

📊 Changes

1 file changed (+5 additions, -10 deletions)

View changed files

📝 src/App/Pages/Accounts/LoginPasswordlessRequestViewModel.cs (+5 -10)

📄 Description

Type of change

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

Objective

Show the api error when a user tries to Login with device but there is an SSO only policy enforced.

Code changes

Catch Api exception and show internal error message.

Screenshots

image

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/2707 **Author:** [@andrebispo5](https://github.com/andrebispo5) **Created:** 8/18/2023 **Status:** ✅ Merged **Merged:** 8/18/2023 **Merged by:** [@andrebispo5](https://github.com/andrebispo5) **Base:** `master` ← **Head:** `auth/pm-3513-ssopolicy` --- ### 📝 Commits (2) - [`fa144bd`](https://github.com/bitwarden/android/commit/fa144bd55208d2497a3272721a2c49d6c7d383c8) [PM-3513] Show API error when SSO policy is enforced. - [`ea0162a`](https://github.com/bitwarden/android/commit/ea0162a4d7d84dfa2bfb6050ba4664ce66ecfef4) [PM-3513] PR fix ### 📊 Changes **1 file changed** (+5 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Pages/Accounts/LoginPasswordlessRequestViewModel.cs` (+5 -10) </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--> Show the api error when a user tries to Login with device but there is an SSO only policy enforced. ## 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--> Catch Api exception and show internal error message. ## Screenshots <!--Required for any UI changes. Delete if not applicable--> <img width="438" alt="image" src="https://github.com/bitwarden/mobile/assets/4648522/7c12745c-3948-4ff0-bb3d-6ae5247ebd9b"> ## 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-11 02:31:03 -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#9900