You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authentication providers like Authelia, Auth0, Authentik, Keycloak, etc. make managing user permissions across selfhosted services much easier.
Desired Behavior
I would like to be able to configure a custom OIDC provider for logins, and have this option appear on the Jellyseer login page. This PR from Overseerr implements support for generic OIDC login. Since OIDC is already supported for Plex SSO, supporting other external authentication services is fairly straightforward.
Additional Context
Here is a screencast from the linked Overseerr PR showing what this feature would look like when implemented.
I'd be happy to try my hand at re-implementing this for Jellyseerr, so long as all are onboard.
Reacted by fallenbagel, darkeclipse, TMUniversal, elriti, Simon Carpentier, bornav, Tygo van den Hurk, GenericEric, Philipp Hohmann, Felitendo and 29 more
@fallenbagel Would you say it's alright to go ahead and remove the Plex OAuth login stuff in here as well? It's intertwined with the authentication logic a little more than I'd like.
@fallenbagel Would you say it's alright to go ahead and remove the Plex OAuth login stuff in here as well? It's intertwined with the authentication logic a little more than I'd like.
If the plex OAuth is removed, wouldn't that remove support for plex?
Login with Plex, yes. If the goal is to keep that support in place, then I can definitely leave it. I could also see if it's possible to just detangle the Plex login a bit so that it's isolated like the rest of the auth providers.
Login with Plex, yes. If the goal is to keep that support in place, then I can definitely leave it. I could also see if it's possible to just detangle the Plex login a bit so that it's isolated like the rest of the auth providers.
Testing with Authentik and it fails the OIDC login due to exceeded threshold.
Jellyseerr presents an error to sign in.
My config is as follows:
OIDC Issuer URL: https://auth.domain.com/application/o/jellyseerr/
OIDC Provider Name: Authntik
OIDC Client ID: generated ID from Authntik
Reacted by legsmcgeeoncrack, Kassiopia and KuroCaille
Thanks @fallenbagel! I tested a setup with Authentik and it's worked great!
Only thing to note is the oidc-authenticated user is shown as type 'local', and the email (rather than username) is used as displayname (not sure if this is easy to change - I don't really mind all that much)
Has someone tried to migrate directly from #184 to #1505 ?
I've been running this super outdated Jellyseerr version the last 1.5 years and I'd like to try out the latest OIDC PR. But if possible, not loosing all requests and userdata... 🐵
@v3DJG6GL My recommendation would be to make a copy of the data directory and start up a separate test container using the copied directory to see what happens. You'll probably have to wait a bit for them to push the migration fix to add the extra table, but then you should be good to test.
I'm sure there will be others doing this, but there's only one way to find out if you don't want to wait.
With a brand new database (like after deleting the entire config folder), this should not be an issue. However, I haven't added database migrations to the branch yet, so if you're coming from an existing database, it will not add the new table. If you'd like to add it manually, you can do something like
CREATE TABLE "linked_accounts" (
"id" integer PRIMARY KEY AUTOINCREMENT NOT NULL,
"provider" varchar(255) NOT NULL,
"sub" varchar(255) NOT NULL,
"username" varchar NOT NULL,
"userId" integer,
CONSTRAINT "FK_2c77d2a0c06eeab6e62dc35af64" FOREIGN KEY ("userId") REFERENCES "user" ("id") ON DELETE CASCADE ON UPDATE NO ACTION
)
but I will be adding the migrations shortly, so it may be better just to hold off until then.
It worked for me as well (manually added the SQL above) but getting "Redirect URI Error" with Authentik. Are you using authentik? whats your redirect URI? Its "http://domain.com/login/oidc/callback" for me. Was working with this redirect uri before the update :(
And I cant downgrade since there was no change in docker image tag preview-OIDC!
EDIT:
Anyone else in similar situation, hopefully you still have the old image on your machine! Just use the old image ID to start container (instead of image-name:tag)
Authentik works just fine, You are indeed using the wrong callback ID...double check it.. What I found is after I did the above table add, I still had issues...
I modified my settings.json to " "mediaServerLogin": true, "
Logged in with plex
Found that OIDC config was not setup in the GUI yet was still in my json file.
Re configured ODIC from the GUI , I set my SLUG manually, YET it still changed it
updated my callback URL for the new slug it set..
*6) removed redirect uri from authentik and allowed it to auto recreate
closed all windows, opened up and it worked again as expected.
Authentik works just fine, You are indeed using the wrong callback ID...double check it.. What I found is after I did the above table add, I still had issues...
I modified my settings.json to " "mediaServerLogin": true, "
Logged in with plex
Found that OIDC config was not setup in the GUI yet was still in my json file.
Re configured ODIC from the GUI , I set my SLUG manually, YET it still changed it
updated my callback URL for the new slug it set..
closed all windows, opened up and it worked again as expected.
I did setup OIDC from jellyseer UI again but didn't update the slug in authentik. You're right, it changed the slug even though I set it to something else! I'll give it another try by updating the slug in authentik. But is the redirect url endpoint correct http://domain.com/login/oidc/callback ?
@vutsalsinghal , This is not required.
Authentik works just fine, You are indeed using the wrong callback ID...double check it.. What I found is after I did the above table add, I still had issues...
I modified my settings.json to " "mediaServerLogin": true, "
Logged in with plex
Found that OIDC config was not setup in the GUI yet was still in my json file.
Re configured ODIC from the GUI , I set my SLUG manually, YET it still changed it
updated my callback URL for the new slug it set..
closed all windows, opened up and it worked again as expected.
I did setup OIDC from jellyseer UI again but didn't update the slug in authentik. You're right, it changed the slug even though I set it to something else! I'll give it another try by updating the slug in authentik. But is the redirect url endpoint correct http://domain.com/login/oidc/callback ?
The redirect URI changed as well. In authentik you can just remove what you have there in the provider and it will add the correct one. If not, this is what mine is
Found another bug while testing this behind a revers proxy. The redirect url is not set correct if using this with ssl/https. The redirect url is build with http not https even though I set an application url from the general tab. It should even use the application url from the settings or the one im currently on to create the provider.
Found another bug while testing this behind a revers proxy. The redirect url is not set correct if using this with ssl/https. The redirect url is build with http not https even though I set an application url from the general tab. It should even use the application url from the settings or the one im currently on to create the provider.
That's not true for me. I'm using Authentik + nginx with letsEncrypt certs setup. As @smdion mentioned on 03/25/25, the redirect url is automatically set to something like https://domain.com/login/oidc/callback/custom-slug.
Found another bug while testing this behind a revers proxy. The redirect url is not set correct if using this with ssl/https. The redirect url is build with http not https even though I set an application url from the general tab. It should even use the application url from the settings or the one im currently on to create the provider.
That's not true for me. I'm using Authentik + nginx with letsEncrypt certs setup. As @smdion mentioned on 03/25/25, the redirect url is automatically set to something like https://domain.com/login/oidc/callback/custom-slug.
Weird, I have exactly the same setup but the redirect uri is build with http ...
Reacted by Vutsal, Dominic Rico Gómez, McGeaverBeaver, nouts, Bryce Kinsey, chiragkrishna, MokoGuy, Jakob Schlanstedt, Kristoffer Balintona, Ark and 2 more
Activity
[-]Support login with OIDC[/-][+][Feature Request] Support login with OIDC[/+]michaelhthomas commentedon Jul 9, 2022
I'd be happy to try my hand at re-implementing this for Jellyseerr, so long as all are onboard.
fallenbagel commentedon Jul 9, 2022
Any help would be much appreciated c:
michaelhthomas commentedon Jul 11, 2022
@fallenbagel Would you say it's alright to go ahead and remove the Plex OAuth login stuff in here as well? It's intertwined with the authentication logic a little more than I'd like.
fallenbagel commentedon Jul 11, 2022
If the plex OAuth is removed, wouldn't that remove support for plex?
michaelhthomas commentedon Jul 11, 2022
Login with Plex, yes. If the goal is to keep that support in place, then I can definitely leave it. I could also see if it's possible to just detangle the Plex login a bit so that it's isolated like the rest of the auth providers.
fallenbagel commentedon Jul 11, 2022
Yeah the goal is for plex to be supported as well
michaelhthomas commentedon Jul 11, 2022
Got it. I'll try separating plex login into its own component so all the login logic isn't on the main
Logincomponentados8 commentedon Oct 8, 2022
Testing with Authentik and it fails the OIDC login due to exceeded threshold.

Jellyseerr presents an error to sign in.

My config is as follows:
OIDC Issuer URL:
https://auth.domain.com/application/o/jellyseerr/OIDC Provider Name:
AuthntikOIDC Client ID:
generated ID from Authntikkurokay commentedon Nov 13, 2022
It would be an awesome feature to add !
largelyinept commentedon Nov 28, 2022
Definitely +1 to the interest here! I use Authentik and would love to more easily and granularly secure my *rr stack
fallenbagel commentedon Nov 30, 2022
Could you test out the
:preview-184tag. Make sure to not test on your production serverlargelyinept commentedon Dec 2, 2022
Thanks @fallenbagel! I tested a setup with Authentik and it's worked great!

Only thing to note is the oidc-authenticated user is shown as type 'local', and the email (rather than username) is used as displayname (not sure if this is easy to change - I don't really mind all that much)
Sapd commentedon Feb 16, 2023
So I have :preview-184 running with only SSO login since mid of December without any problems. (Also with Authentik)
64 remaining items
kassarole commentedon Mar 25, 2025
Gotcha I'm not sure what the issue was but manually creating the table with the SQL you sent fixed it for me. Thanks!
v3DJG6GL commentedon Mar 25, 2025
Has someone tried to migrate directly from #184 to #1505 ?
I've been running this super outdated Jellyseerr version the last 1.5 years and I'd like to try out the latest OIDC PR. But if possible, not loosing all requests and userdata... 🐵
cordlord commentedon Mar 25, 2025
@v3DJG6GL My recommendation would be to make a copy of the data directory and start up a separate test container using the copied directory to see what happens. You'll probably have to wait a bit for them to push the migration fix to add the extra table, but then you should be good to test.
I'm sure there will be others doing this, but there's only one way to find out if you don't want to wait.
smdion commentedon Mar 25, 2025
I can also confirm this works for an existing db.
vutsalsinghal commentedon Mar 25, 2025
It worked for me as well (manually added the SQL above) but getting "Redirect URI Error" with Authentik. Are you using authentik? whats your redirect URI? Its "http://domain.com/login/oidc/callback" for me. Was working with this redirect uri before the update :(
And I cant downgrade since there was no change in docker image tag
preview-OIDC!EDIT:
Anyone else in similar situation, hopefully you still have the old image on your machine! Just use the old image ID to start container (instead of image-name:tag)
McGeaverBeaver commentedon Mar 25, 2025
@vutsalsinghal , This is not required.
Authentik works just fine, You are indeed using the wrong callback ID...double check it.. What I found is after I did the above table add, I still had issues...
*6) removed redirect uri from authentik and allowed it to auto recreate
vutsalsinghal commentedon Mar 25, 2025
I did setup OIDC from jellyseer UI again but didn't update the slug in authentik. You're right, it changed the slug even though I set it to something else! I'll give it another try by updating the slug in authentik. But is the redirect url endpoint correct
http://domain.com/login/oidc/callback?smdion commentedon Mar 26, 2025
The redirect URI changed as well. In authentik you can just remove what you have there in the provider and it will add the correct one. If not, this is what mine is
https://%jellyseerrsubdomain%.%domain%.com/login/oidc/callback/%providername%EDIT:
Users will have to sign in with a local account and then link in the OIDC account. The following error in database:
Failed OIDC login attempt {"cause":"Unknown error","ip":"10.10.10.61","errorMessage":"SQLITE_CONSTRAINT: UNIQUE constraint failed: user.email"}I assume this will be fixed with the migration, but just FYI for you manual people.
dominicrico commentedon Mar 27, 2025
Found another bug while testing this behind a revers proxy. The redirect url is not set correct if using this with ssl/https. The redirect url is build with http not https even though I set an application url from the general tab. It should even use the application url from the settings or the one im currently on to create the provider.
vutsalsinghal commentedon Mar 27, 2025
That's not true for me. I'm using Authentik + nginx with letsEncrypt certs setup. As @smdion mentioned on 03/25/25, the redirect url is automatically set to something like
https://domain.com/login/oidc/callback/custom-slug.dominicrico commentedon Mar 27, 2025
Weird, I have exactly the same setup but the redirect uri is build with http ...
gauthier-th commentedon Mar 27, 2025
Please use the dedicated discussion