audiobookshelf/client
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
..
assets Add base style for button for cursor:pointer, update default btn bg and confirm yes btn color 2025-03-25 17:47:11 -05:00
components Merge pull request #5089 from meek2100/pass_managers 2026-04-26 16:16:42 -05:00
cypress Fix LazySeriesCard component test 2025-07-07 16:49:20 -05:00
layouts Remove providers prefetch, refresh on custom provider add/remove 2025-10-19 11:47:17 +03:00
middleware Add:Series filters #712 2022-10-29 15:33:38 -05:00
mixins Fix item edit modal show next/prev arrows when opening from Files or Match context menu item #4718 2025-10-08 14:52:14 -05:00
pages Add configurable OIDC group-to-role mapping 2026-06-06 19:02:17 +01:00
players Update comments on matroska 2026-04-10 16:42:39 -05:00
plugins Add Japanese language and Japan podcast search region 2026-04-25 15:56:16 +00:00
static Update material symbols icon font 2024-08-16 16:57:17 -05:00
store Remove custom providers from library fetch action 2025-10-19 11:40:40 +03:00
strings Add configurable OIDC group-to-role mapping 2026-06-06 19:02:17 +01:00
cypress.config.js Move test files to a separate directory 2024-04-30 11:30:00 +03:00
nuxt.config.js Implement new JWT auth 2025-06-29 17:22:58 -05:00
package-lock.json Version bump v2.35.1 2026-05-28 15:22:55 -05:00
package.json Version bump v2.35.1 2026-05-28 15:22:55 -05:00
postcss.config.js Use separate postcss.config and remove from nuxt.config, uninstall autoprefixer 2025-03-21 09:25:29 -05:00