FreshRSS
Sign in to the FreshRSS feed reader 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
FreshRSSand add the callback URLhttps://freshrss.example.com/i/oidc/. - Click Create and copy the Client ID, the Client secret and the OIDC Discovery 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 FreshRSS
Section titled “Configure FreshRSS”See FreshRSS’ OpenID Connect documentation for specific FreshRSS OIDC settings.
This is an example Docker Compose file for FreshRSS with OIDC enabled:
services: freshrss: image: freshrss/freshrss:1.25.0 container_name: freshrss ports: - 8080:80 volumes: - /freshrss_data:/var/www/FreshRSS/data - /freshrss_extensions:/var/www/FreshRSS/extensions environment: CRON_MIN: 1,31 TZ: Etc/UTC OIDC_ENABLED: 1 OIDC_CLIENT_ID: <client-id> OIDC_CLIENT_SECRET: <client-secret> OIDC_PROVIDER_METADATA_URL: https://id.example.com/.well-known/openid-configuration OIDC_SCOPES: openid email profile OIDC_X_FORWARDED_HEADERS: X-Forwarded-Proto X-Forwarded-Host OIDC_REMOTE_USER_CLAIM: preferred_username restart: unless-stopped networks: - freshrssnetworks: freshrss: name: freshrssComplete the setup
Section titled “Complete the setup”If you are setting up a new instance of FreshRSS, start the container with the OIDC variables and open your FreshRSS URL.
If you are adding OIDC to an existing FreshRSS instance, recreate the container with the Docker Compose file that contains the OIDC variables and open your FreshRSS URL. Open Settings → Authentication, change the authentication method to HTTP and click Submit. Log out to test your OIDC connection.
If you get an error from Pocket ID or can’t log in to your FreshRSS account, you can revert to password login by editing the FreshRSS config.php file.
Find the value for auth_type and change it from http_auth to form.
Restart the FreshRSS container to revert to password login.