[PR #7105] [MERGED] Fix invalid refresh token response #20756

Closed
opened 2026-04-25 22:42:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/7105
Author: @BlackDex
Created: 4/16/2026
Status: Merged
Merged: 4/16/2026
Merged by: @dani-garcia

Base: mainHead: fix-invalid-refresh


📝 Commits (1)

  • 54ec7a0 Fix invalid refresh token response

📊 Changes

1 file changed (+11 additions, -7 deletions)

View changed files

📝 src/api/identity.rs (+11 -7)

📄 Description

If the refresh token is invalid or expired we need to return a specific JSON and HTTP Status, else the clients will not logout.

Fixes #7060
Closes #7080


🔄 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/dani-garcia/vaultwarden/pull/7105 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 4/16/2026 **Status:** ✅ Merged **Merged:** 4/16/2026 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-invalid-refresh` --- ### 📝 Commits (1) - [`54ec7a0`](https://github.com/dani-garcia/vaultwarden/commit/54ec7a011341f4aadf63c4175a16eb7ca5833b75) Fix invalid refresh token response ### 📊 Changes **1 file changed** (+11 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/api/identity.rs` (+11 -7) </details> ### 📄 Description If the refresh token is invalid or expired we need to return a specific JSON and HTTP Status, else the clients will not logout. Fixes #7060 Closes #7080 --- <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-25 22:42:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#20756