audiobookshelf/client/pages/config
Boris Rybalkin d6cfdd3bec Add configurable OIDC group-to-role mapping
Currently OIDC group-based role assignment only recognizes groups named
'admin', 'user', or 'guest' (case-insensitive), and denies login when a
user's groups match none of them. This makes group-based roles unusable
with identity providers whose group names differ, and offers no way to
admit such users with a default role.

Add two optional server settings:
- authOpenIDAdminGroups: comma-separated group names mapped to the admin
  role, in addition to the built-in names.
- authOpenIDGroupDefaultRole: role assigned when no group matches,
  instead of denying login.

Both default to empty, preserving current behavior. Includes the auth
settings UI fields, en-us strings, and unit tests for setUserGroup.
2026-06-06 19:02:17 +01:00
..
api-keys Log when token expiry is set via env var, api-keys create/update returns with user association 2025-07-06 13:10:14 -05:00
item-metadata-utils Update Confirm component to support allowHtml prompt option 2026-03-18 16:51:51 -05:00
users Update session DeviceInfo with sanitize on clientDeviceInfo 2026-03-11 17:03:07 -05:00
authentication.vue Add configurable OIDC group-to-role mapping 2026-06-06 19:02:17 +01:00
backups.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
email.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
index.vue Update Confirm component to support allowHtml prompt option 2026-03-18 16:51:51 -05:00
libraries.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
log.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
notifications.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
rss-feeds.vue Use getServerSetting to ensure serverSettings is set before accessing 2025-07-06 17:39:03 -05:00
sessions.vue Update session DeviceInfo with sanitize on clientDeviceInfo 2026-03-11 17:03:07 -05:00
stats.vue Consistent icons in stats page 2025-03-26 13:00:10 +01:00