9p4
9p4
It doesn't seem like the response includes your groups for some reason. I'll spin up an Authelia instance and see if I can reproduce your error.
Alright, I can't reproduce your error. Does the user with the username `erik` already exist?
If you're comfortable editing the Jellyfin source, can you put a debug statement in `Jellyfin.Server.Implementations/Users/UserManager.cs` in the `GetUserByName(string name)` function? It should go before the `throw new ArgumentException` and look...
No worries at all! I have always been meaning to get Authelia to run anyway...
Could you upload your XML configuration for the plugin with the secret parts redacted?
Seems like the error is thrown here: https://github.com/jellyfin/jellyfin/blob/53209830e7b566949c16b43c864f6f85336cb92c/Jellyfin.Server.Implementations/Users/UserManager.cs#L122 Can you check on https://oidcdebugger.com to see what the `preferred_username` claim is? As for your original request of changing the configured username...
Alright, seems like the issue is in this chunk of code: https://github.com/9p4/jellyfin-plugin-sso/blob/6a0fcfe7118265bd5a5cb128de9ad524895564a6/SSO-Auth/Api/SSOController.cs#L184 The validation is performed incorrectly. The code should look something like ``` if (StateManager.Username == null) { foreach...
I'm planning on restructuring the login flow just a little to accommodate this (as well as solve the issue of when the web frontend is on a different domain than...
So the flow would be something like this: 1. User loads JF, presses on button 1. Button executes some JS to send a "start auth" to SSO API 1. Button...
The ideal option would be to integrate this plugin as part of the official JF spec for better frontend support, but that would be complex to maintain, and I don't...