mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-26 06:28:43 +02:00
[PR #1660] [CLOSED] Fix OIDC button not appearing during re-login when refresh token is missing #1650
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1660
Author: @jtbrush56
Created: 8/14/2025
Status: ❌ Closed
Base:
master← Head:fix-oidc-button-relogin📝 Commits (1)
02d801fFix OIDC button not appearing during re-login when refresh token is missing📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
components/connection/ServerConnectForm.vue(+15 -0)📄 Description
Problem
The OIDC login button was not appearing when manually reconnecting to servers that support OpenID authentication, specifically when refresh tokens were missing or expired.
Root Cause
The
connectToServermethod only called/pingand/api/authorizeendpoints during reconnection, but never fetched authentication methods from/status, leavingauthMethodsempty.Solution
getServerAddressStatus()when token authentication failsauthMethodsarray before showing auth formChanges
components/connection/ServerConnectForm.vue(lines 474-490)Result
Users can now see and use the OIDC button when reconnecting to servers after refresh token expiration.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.