[PR #1965] [MERGED] Add ssoToken to limit lifetime of SSO redirect #3257

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

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1965
Author: @MGibson1
Created: 6/27/2022
Status: Merged
Merged: 6/27/2022
Merged by: @MGibson1

Base: masterHead: ps-1008-add-sso-validity-token-to-sso-auth


📝 Commits (1)

  • 4f0c3a3 Add ssoToken to limit lifetime of SSO redirect

📊 Changes

4 files changed (+16 additions, -5 deletions)

View changed files

📝 src/App/Pages/Accounts/LoginSsoPageViewModel.cs (+5 -2)
📝 src/Core/Abstractions/IApiService.cs (+1 -1)
src/Core/Models/Response/SsoPrevalidateResponse.cs (+7 -0)
📝 src/Core/Services/ApiService.cs (+3 -2)

📄 Description

Type of change

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

Objective

Mobile implementation of bitwarden/jslib#780. Adds an expiring token to SSO page redirects.

Before you submit

  • I have checked for formatting errors (dotnet tool run dotnet-format --check) (required)
  • I have added unit tests where it makes sense to do so (encouraged but not required)
  • This change requires a documentation update (notify the documentation team)
  • 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/1965 **Author:** [@MGibson1](https://github.com/MGibson1) **Created:** 6/27/2022 **Status:** ✅ Merged **Merged:** 6/27/2022 **Merged by:** [@MGibson1](https://github.com/MGibson1) **Base:** `master` ← **Head:** `ps-1008-add-sso-validity-token-to-sso-auth` --- ### 📝 Commits (1) - [`4f0c3a3`](https://github.com/bitwarden/android/commit/4f0c3a3fa6813f5908247fca35baae978ed48bbc) Add ssoToken to limit lifetime of SSO redirect ### 📊 Changes **4 files changed** (+16 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Pages/Accounts/LoginSsoPageViewModel.cs` (+5 -2) 📝 `src/Core/Abstractions/IApiService.cs` (+1 -1) ➕ `src/Core/Models/Response/SsoPrevalidateResponse.cs` (+7 -0) 📝 `src/Core/Services/ApiService.cs` (+3 -2) </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 Mobile implementation of bitwarden/jslib#780. Adds an expiring token to SSO page redirects. ## Before you submit - [x] I have checked for formatting errors (`dotnet tool run dotnet-format --check`) (required) - [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required) - [ ] This change requires a **documentation update** (notify the documentation team) - [ ] 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 2025-11-26 23:30:22 -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#3257