Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

Admin privileges revoked upon OIDC login despite correct role mapping in plugin settings #367

Description

@Domoel

Description:
I am currently experiencing an issue where the OIDC plugin revokes my administrator privileges after a successful login via my Identity Provider (Pocket-ID).

Even though I have configured the correct roles in the plugin settings (matching the groups/roles defined in Pocket-ID), Jellyfin treats my account as a standard user upon login. This behavior is quite critical, as it nearly locked me out of the administrative dashboard entirely.

Steps to reproduce:

  • Configure the OIDC plugin to map roles from the Identity Provider.
  • Ensure the admin roles (e.g., "admins") are correctly entered in the plugin's "Admin Roles" field.
  • Log in via the OIDC provider.
  • Observe that Jellyfin strips the administrative flags from the existing local account.

Expected behavior:
The plugin should recognize the user's administrative status based on the claims provided by the Identity Provider and maintain the local admin privileges without overriding/revoking them.

Environment:

  • Jellyfin Server Version: [Hier deine Version einfügen, z.B. 10.11.8]
  • OIDC Plugin Version: 4.0.0.4
  • Identity Provider: Pocket-ID
  • Environment: Docker (linuxserver/jellyfin)

Additional context:
I have verified that the groups/roles are being sent correctly by the IDP. I was able to temporarily restore access by manually editing the plugin configuration or the internal database, but the issue persists on every login. Is this a known issue, or is there a specific configuration I might be missing to ensure that the admin role is correctly preserved/applied?

PS: After the initial setup, fallabck login with user/password does not work anylonger. Is this expected behavior. Jellyfin states only that the password is wrong. Why is the plugin overriding my password anyways?

Any guidance or troubleshooting steps would be highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions