[PR #1414] [MERGED] add auth-email header to auth request #2875

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

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1414
Author: @kspearrin
Created: 5/28/2021
Status: Merged
Merged: 5/28/2021
Merged by: @kspearrin

Base: masterHead: auth-email-header


📝 Commits (1)

  • 1b14469 add auth-email header to auth request

📊 Changes

2 files changed (+10 additions, -0 deletions)

View changed files

📝 src/Core/Models/Request/TokenRequest.cs (+9 -0)
📝 src/Core/Services/ApiService.cs (+1 -0)

📄 Description

Adds a new request header, auth-email, to auth requests that includes the same value as the username post parameter. This will enable us to rate limit auth requested based on username to prevent things like 2FA brute forcing.


🔄 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/1414 **Author:** [@kspearrin](https://github.com/kspearrin) **Created:** 5/28/2021 **Status:** ✅ Merged **Merged:** 5/28/2021 **Merged by:** [@kspearrin](https://github.com/kspearrin) **Base:** `master` ← **Head:** `auth-email-header` --- ### 📝 Commits (1) - [`1b14469`](https://github.com/bitwarden/android/commit/1b1446923d8db8b1d35ae4fe92e7e85406b8edc5) add `auth-email` header to auth request ### 📊 Changes **2 files changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Models/Request/TokenRequest.cs` (+9 -0) 📝 `src/Core/Services/ApiService.cs` (+1 -0) </details> ### 📄 Description Adds a new request header, `auth-email`, to auth requests that includes the same value as the `username` post parameter. This will enable us to rate limit auth requested based on username to prevent things like 2FA brute forcing. --- <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:25:21 -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#2875