[PR #4756] [MERGED] Change token expiry #4341

Closed
opened 2026-04-25 00:19:21 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4756
Author: @Vito0912
Created: 10/19/2025
Status: Merged
Merged: 10/21/2025
Merged by: @advplyr

Base: masterHead: tokenExpiry


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 server/auth/TokenManager.js (+2 -2)

📄 Description

Brief summary

This increases the default tokenExpiry for the refresh and access token.

Which issue is fixed?

/

In-depth Description

It was discussed some time ago that the default duration might eventually be increased /decreased.
Since there have been no reports of authentication issues related to them, imho I think it's fair to say that the time has come where it should be safe to increase the refresh token and decrease the access token.
Especially for people switching between apps, 7 days can easily be reached.

How have you tested this?

/

Screenshots

/


🔄 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/advplyr/audiobookshelf/pull/4756 **Author:** [@Vito0912](https://github.com/Vito0912) **Created:** 10/19/2025 **Status:** ✅ Merged **Merged:** 10/21/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `tokenExpiry` --- ### 📝 Commits (1) - [`0a4de61`](https://github.com/advplyr/audiobookshelf/commit/0a4de61eff00ae1f4ba102acf4cf2a744192e208) Chnage Auth Expiry ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/auth/TokenManager.js` (+2 -2) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary This increases the default tokenExpiry for the refresh and access token. ## Which issue is fixed? / ## In-depth Description It was discussed some time ago that the default duration might eventually be increased /decreased. Since there have been no reports of authentication issues related to them, imho I think it's fair to say that the time has come where it should be safe to increase the refresh token and decrease the access token. Especially for people switching between apps, 7 days can easily be reached. ## How have you tested this? / ## Screenshots / --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:21 +02:00
adam closed this issue 2026-04-25 00:19:21 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4341