mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #14112] [CLOSED] Fix/login session silent expiration #39023
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/open-webui/open-webui/pull/14112
Author: @loitragg
Created: 5/21/2025
Status: ❌ Closed
Base:
dev← Head:fix/login-session-silent-expiration📝 Commits (1)
31db99ffeat: add token refresh and expiration handling utilities📊 Changes
2 files changed (+187 additions, -9 deletions)
View changed files
➕
src/lib/utils/fetchWithTokenRefresh.ts(+146 -0)📝
src/routes/+layout.svelte(+41 -9)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
TOKEN_EXPIRY_BUFFER = 30in src/routes/+layout.svelte for 30-second buffer before expirationcheckTokenExpiry()function for proactive token validationChanged
Deprecated
Removed
Fixed
Security
userSignOut()Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.