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 }}
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$`)]
}
/**