[PR #2806] [MERGED] return more descriptive JWT validation messages #3019

Closed
opened 2025-11-07 08:01:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2806
Author: @stefan0xC
Created: 10/9/2022
Status: Merged
Merged: 10/9/2022
Merged by: @dani-garcia

Base: mainHead: return-token-expired-message


📝 Commits (1)

  • 475c7b8 return more descriptive JWT validation messages

📊 Changes

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

View changed files

📝 src/auth.rs (+11 -7)

📄 Description

This should fix #2792 by returning a bit more descriptive error messages when validating tokens, e.g. when a JWT has expired.


🔄 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/2806 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 10/9/2022 **Status:** ✅ Merged **Merged:** 10/9/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `return-token-expired-message` --- ### 📝 Commits (1) - [`475c7b8`](https://github.com/dani-garcia/vaultwarden/commit/475c7b8f1671ba74001bbe50050c1a69931122cb) return more descriptive JWT validation messages ### 📊 Changes **1 file changed** (+11 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/auth.rs` (+11 -7) </details> ### 📄 Description This should fix #2792 by returning a bit more descriptive error messages when validating tokens, e.g. when a JWT has expired. --- <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-07 08:01:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#3019