Skip to content
v2.18.0GitHub

FreshRSS

Sign in to the FreshRSS feed reader with Pocket ID.

  1. In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
  2. Enter a name such as FreshRSS and add the callback URL https://freshrss.example.com/i/oidc/.
  3. Click Create and copy the Client ID, the Client secret and the OIDC Discovery URL. The client secret is only shown once.
  4. On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.

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:
- freshrss
networks:
freshrss:
name: freshrss

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.