Gameyfin
Configure Gameyfin with Pocket ID authentication
Create an OIDC Client in Pocket ID
- Create a new OIDC Client in Pocket ID (e.g.,
Gameyfin). - Set the Client Launch URL to
https://<your-gameyfin-domain>/login. - Set the Callback URL to
https://<your-gameyfin-domain>/login/oauth2/code/oidc, or leave blank to autofill on first login. - (Optional) Find and upload a logo from Self-Hosted Dashboard Icons.
Create User Groups in Pocket ID
Create two user groups in Pocket ID (
User Groups > Add Group), one forsuperadminsand one foradmins:- Friendly name: Fill out to your liking.
- Name: Use the generated one or change it if you want.
Click
Saveand then add a custom claim to each group (Custom Claims > Add custom claim):- Key: roles
- Value: For the superadmin group use
["GAMEYFIN_SUPERADMIN"], and for the admin group use["GAMEYFIN_ADMIN"].
Click
Saveto create the custom claim.Add your users to their respective groups in Pocket ID. Users that are not in either group will automatically be assigned the "User" role.
Configure Gameyfin
Go to Gameyfin's SSO settings page (
Administration > SSO), enable SSO and fill out the SSO provider configuration with the values from Pocket ID.Pocket ID does not display an "Issuer URL" directly, use the domain of your Pocket-ID instance without a trailing slash (/). You can use "Auto-populate" to fill most the values automatically or copy them manually from Pocket ID.
- Client ID: Client ID from Pocket ID.
- Client secret: Client secret from Pocket ID.
- Issuer URL:
https://<your-pocket-id-domain> - Authorize URL: The Authorization URL from Pocket ID.
- Token URL: The Token URL from Pocket ID.
- Userinfo URL: The Userinfo URL from Pocket ID.
- Logout URL: The Logout URL from Pocket ID.
- JWKS URL: The JWKS URL from Pocket ID.
Restart Gameyfin.