Pinepods
Sign in to the Pinepods podcast manager with Pocket ID.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Pinepodsand add the callback URLhttps://pinepods.example.com/api/auth/callback. - Click Create and copy the Client ID and the Client secret. Under Show more details, also copy the Authorization URL, the Token URL and the Userinfo URL. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Pinepods
Section titled “Configure Pinepods”OIDC can be configured through the UI or through environment variables. Environment variables require version 0.8.2+.
Using the UI
Section titled “Using the UI”Only admin users can configure OIDC/SSO settings.
- Open Pinepods and navigate to Settings → Admin Settings → OIDC/SSO Settings.
- Fill in the required fields:
- Provider Name:
Pocket ID - Client ID: the Client ID from Pocket ID.
- Client Secret: the Client secret from Pocket ID.
- Authorization URL: the Authorization URL from Pocket ID.
- Token URL: the Token URL from Pocket ID.
- User Info URL: the Userinfo URL from Pocket ID.
- Provider Name:
- (Optional) Change the button text, for example to
Login with Pocket ID.
Using environment variables
Section titled “Using environment variables”This method requires Pinepods v0.8.2+.
Check out the Pinepods documentation for the full list of available environment variables.
Example config using a .env file:
# Basic OIDC ConfigurationOIDC_PROVIDER_NAME: "Pocket ID"OIDC_CLIENT_ID: "<client-id>"OIDC_CLIENT_SECRET: "<client-secret>"OIDC_AUTHORIZATION_URL: "https://id.example.com/oauth2/authorize"OIDC_TOKEN_URL: "https://id.example.com/oauth2/token"OIDC_USER_INFO_URL: "https://id.example.com/oauth2/userinfo"
# Optional OIDC CustomizationOIDC_BUTTON_TEXT: "Login with Pocket ID"OIDC_SCOPE: "openid email profile groups"OIDC_BUTTON_COLOR: "#1a365d"OIDC_BUTTON_TEXT_COLOR: "#ffffff"
# Role MappingOIDC_ROLES_CLAIM: "groups"OIDC_USER_ROLE: "pinepods-users"OIDC_ADMIN_ROLE: "pinepods-admins"
# Disable standard login (optional)OIDC_DISABLE_STANDARD_LOGIN: true