Replies: 2 comments 8 replies
-
If you're willing, would you like to create a PR to add this to the official docs? https://github.com/9p4/jellyfin-plugin-sso/blob/main/providers.md |
Beta Was this translation helpful? Give feedback.
-
@aldervall thank you very much for this guide! I've tried to set it up too with zitadel but I seem to be stuck on error "Error. Check permissions." when trying to access This is my xml:
Log from Jellyfin Something to notice: if I remove the Roles mapping I can login without issue (user doesn't have any permission and that's expected) but still is a problem since manually given permissions just get overwritten every log in. |
Beta Was this translation helpful? Give feedback.
-
SSO Login Guide for Jellyfin with ZITADEL
1. Create a New Project in ZITADEL
2. Configure the Project for Code Flow
Choose
CODE
as the flow type.Redirect URIs
Add the following Redirect URIs:
https://jellyfin.YOURSERVER.COM/sso/OID/r/zitadel
https://jellyfin.YOURSERVER.COM/sso/OID/redirect/zitadel
Post Logout URIs
Add the following Post Logout URI:
https://jellyfin.YOURSERVER.COM
Press
Continue
andCreate
.3. Copy Credentials
Client Secret
andClient ID
for later use.4. Configure Roles in ZITADEL
Assert Roles on Authentication
.Check authorization on Authentication
and pressSave
.Create Groups
Create the following three groups:
jellyfin_user
jellyfin_tv
jellyfin_admin
. Go to your Organization and Copy your Organization's Resource ID from ZITADEL.
5. Set Up SSO in Jellyfin
OID Endpoint:
https://zitadel.YOURSERVER.COM/.well-known/openid-configuration
`
OpenID Client ID:
Client ID
from ZitadelOID Secret:
Client Secret
from ZitadelExample Role Mappings
Here are example role mappings to use in your configuration:
Change it to your organization:
{"jellyfin_tv":{"{ORGANIZATIONID":"{PRIMARYDOMAIN.COM}"}}
Admin Roles:
Change it to your organization:
{"jellyfin_admin":{"{ORGANIZATIONID":"{PRIMARYDOMAIN.COM}"}}
Live TV Roles:
Live TV Management Roles:
Change it to your organization:
{"jellyfin_tv":{"{ORGANIZATIONID":"{PRIMARYDOMAIN.COM}"}}
Scopes and Claims
Add the following scopes and claims:
I'm configuring mine to use HTTPS, but your setup might be different.
Save the configuration**:
6. Add Users in ZITADEL
I've encountered issues when assigning two roles to a single user in Zitadel. Jellyfin will responds with a 'Permission Denied' error.
7. Test the SSO Setup
Beta Was this translation helpful? Give feedback.
All reactions