ibizaman / selfhostblocks

Modular server management based on NixOS modules and focused on best practices.
https://shb.skarabox.com
GNU Affero General Public License v3.0
207 stars 6 forks source link

Infuse cannot connect to Jellyfin when SSO is enabled #262

Closed ibizaman closed 3 months ago

ibizaman commented 3 months ago

From looking at the logs, the request is POST /Users/AuthenticateByName HTTP/2.0 and ends up with a 401.

ibizaman commented 3 months ago

I had the same issue when trying to login "normally", that is by not following the SSO link.

This was actually due to the LDAP plugin being out of date.

When Infuse was issuing the POST request to authenticate, in the logs I could see:

[21:01:45] [WRN] [84] Jellyfin.Server.Implementations.Users.UserManager: User <USERNAME> was found with invalid/missing Authentication Provider Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin. Assigning user to InvalidAuthProvider until this is corrected

This led me to this blog post whose fix was simply to upgrade the plugin. And it worked.

ibizaman commented 3 months ago

The long term fix is #263