OIDC libraries and age ratings don't reliably sync
What happened?
My family has accounts on a Kavita instance I self host. I have setup Authelia and LLDAP for OIDC logins have configured Kavita with:
- "Sync user settings with OIDC roles" turned on
- For each user I've set the identity provider to be "OpenID Connect".
- Group prefix
kavita-
However, I observe that both libraries and age restrictions don't really sync properly. In LLDAP I have added users to groups like kavita-library-light-novels, but users will not pick up that group even after logging out and logging back in.
More seriously I have age restrictions set up with group names like kavita-age-restriction-everyone-10+, and I find that for some of my children the age restriction will disappear and they will have unrestricted access to age inappropriate manga and comics. Access gets to unrestricted even though the maximum age rating shown to new users is set to PG.
What did you expect?
Kavita should correctly apply libraries and age restrictions that are managed as LDAP groups.
Kavita Version Number - If you don't see your version number listed, please update Kavita and see if your issue still persists.
0.9.1 - Stable
Are you accessing kavita through a reverse proxy? If yes, confirm that the issue persists with a direct connection
Yes
What operating system is Kavita being hosted from?
Docker (Dockerhub Container)
If the issue is being seen on Desktop, what OS are you running where you see the issue?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Firefox
If the issue is being seen on Mobile, what OS are you running where you see the issue?
None
If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?
No response
Relevant log output
Additional Notes
Running Kavita in Podman. OIDC provided by Authelia. LDAP provided by LLDAP.
My current work around is to configure each user's identity provider from OIDC back to Kavita (though I still use OIDC for logging in), and to configure both library access and age restrictions through the Kavita UI.
Source: Kareadita/Kavita