mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
[PR #4371] [CLOSED] JWT Refresh Token #2833
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4371
Author: @Timshel
Created: 2/21/2024
Status: ❌ Closed
Base:
main← Head:feature/jwt_refresh📝 Commits (2)
7523e00JWT Refresh Token2467e91Improve error message📊 Changes
5 files changed (+257 additions, -111 deletions)
View changed files
📝
src/api/identity.rs(+51 -51)📝
src/api/mod.rs(+1 -1)📝
src/auth.rs(+198 -1)📝
src/db/models/device.rs(+3 -58)📝
src/error.rs(+4 -0)📄 Description
To facilitate review decided to move out the switch to a JWT refresh_token from the sso PR https://github.com/dani-garcia/vaultwarden/pull/3899.
Without the SSO logic it's not the most useful still :
refresh_token(work like an idle timer reset when a new access_token is generated).AuthMethodin the token (Password...).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.