audiobookshelf/server/objects
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
..
files Fix API including basepath in tracks contentUrl 2025-02-01 16:47:36 -06:00
metadata Migrate tools and collapse series. fix continue shelves. remove old objects 2025-01-05 14:09:03 -06:00
settings Add configurable OIDC group-to-role mapping 2026-06-06 19:02:17 +01:00
Backup.js Update Backup to use key to check for old backups no longer supported 2023-07-14 14:20:35 -05:00
DailyLog.js Update:Log uncaught exceptions to crash_logs.txt #706 & cleanup logger 2024-02-15 16:46:19 -06:00
DeviceInfo.js Fix android device sdkVersion not handling it using number type, causing android session device names to show as iOS 2026-05-15 13:13:14 -05:00
Notification.js Init sqlite take 2 2023-07-04 18:14:44 -05:00
PlaybackSession.js Fix share playback session not including coverAspectRatio 2026-03-29 15:36:07 -05:00
PodcastEpisodeDownload.js Update podcast episode downloads to always attempt embedding meta tags regardless of format 2025-08-17 09:05:29 -05:00
Stream.js Force AAC transcode when streaming mka+opus to desktop client 2026-03-11 00:35:12 +11:00
Task.js Update:Added string localization for tasks #3303 #3352 2024-09-21 14:02:57 -05:00
TrackProgressMonitor.js Improve documentation and arg names in TrackProgressMonitor.js 2024-07-20 21:42:58 +03:00