diff --git a/client/pages/config/authentication.vue b/client/pages/config/authentication.vue index d15ab0ce..f31f9ea2 100644 --- a/client/pages/config/authentication.vue +++ b/client/pages/config/authentication.vue @@ -122,7 +122,8 @@ -
+
+

{{ $strings.MessageAuthenticationOIDCChangesRestart }}

{{ $strings.ButtonSave }}
diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 4c07609e..47b64c1a 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -708,6 +708,7 @@ "MessageAddToPlayerQueue": "Add to player queue", "MessageAppriseDescription": "To use this feature you will need to have an instance of Apprise API running or an api that will handle those same requests.
The Apprise API Url should be the full URL path to send the notification, e.g., if your API instance is served at http://192.168.1.1:8337 then you would put http://192.168.1.1:8337/notify.", "MessageAsinCheck": "Ensure you are using the ASIN from the correct Audible region, not Amazon.", + "MessageAuthenticationOIDCChangesRestart": "Restart your server after saving to apply OIDC changes.", "MessageBackupsDescription": "Backups include users, user progress, library item details, server settings, and images stored in /metadata/items & /metadata/authors. Backups do not include any files stored in your library folders.", "MessageBackupsLocationEditNote": "Note: Updating the backup location will not move or modify existing backups", "MessageBackupsLocationNoEditNote": "Note: The backup location is set through an environment variable and cannot be changed here.", diff --git a/server/Auth.js b/server/Auth.js index 8ece90ae..ba72947a 100644 --- a/server/Auth.js +++ b/server/Auth.js @@ -20,10 +20,7 @@ class Auth { // Map of openId sessions indexed by oauth2 state-variable this.openIdAuthSession = new Map() const escapedRouterBasePath = escapeRegExp(global.RouterBasePath) - this.ignorePatterns = [ - new RegExp(`^(${escapedRouterBasePath}/api)?/items/[^/]+/cover$`), - new RegExp(`^(${escapedRouterBasePath}/api)?/authors/[^/]+/image$`) - ] + this.ignorePatterns = [new RegExp(`^(${escapedRouterBasePath}/api)?/items/[^/]+/cover$`), new RegExp(`^(${escapedRouterBasePath}/api)?/authors/[^/]+/image$`)] } /**