fix: admin role mapping grants only, revoke behind opt-in
SSO login for an existing admin whose token lacked the admin role was silently demoting the account, locking admins out of the dashboard. Missing admin role now leaves the flag alone unless RevokeAdminWithoutRole is enabled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@ Then in Jellyfin: Dashboard → Plugins → OIDC Auth:
|
||||
| Username claim | Default `preferred_username`, falls back to `sub` |
|
||||
| Role claim | Default `groups` |
|
||||
| Allowed roles | CSV; empty = every authenticated user may log in |
|
||||
| Admin roles | CSV; empty = plugin never touches the admin flag |
|
||||
| Admin roles | CSV; users with one of these roles are granted admin on SSO login. Missing role does **not** revoke admin unless "Also revoke admin" is enabled. Empty = plugin never touches the admin flag |
|
||||
| Create users on first login | On by default; new users get access to all libraries |
|
||||
| Set random password for auto-created users | On by default. Without it, Jellyfin accepts a **blank password** for these users from any client — convenient on a LAN-only server, dangerous on an exposed one |
|
||||
| Disable strict endpoint validation | Enable for Google and other providers whose endpoints are on a different host than the issuer |
|
||||
|
||||
Reference in New Issue
Block a user