Skip to content
v2.19.3GitHub

Sonarr

Sign in to the Sonarr dashboard with Pocket ID.

  1. In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
  2. Enter a name such as Sonarr and add the callback URL https://sonarr.example.com/signin-oidc.
  3. Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
  4. On the client’s General tab, turn on PKCE, then click Save.
  5. On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
  1. Log in to Sonarr
  2. Go to Settings → General and enable Show Advanced.
  3. Under Security, fill in the following fields:
Field Value
Authentication OIDC
Authentication Required Enabled
OIDC Authority https://id.example.com
OIDC Client ID The Client ID from Pocket ID
OIDC Client Secret The Client secret from Pocket ID
OIDC User The user’s Verified email from Pocket ID
OIDC Scopes openid email profile
Trusted Networks The IP address of your reverse proxy (e.g. Caddy, Nginx, Traefik, etc.)
  1. Click on Save Changes and restart Sonarr.
  2. Click on Login and you will be redirected to Pocket ID for authentication.
  1. Stop Sonarr.
  2. Fill in the required fields in the config.xml file (the file location may vary depending on your setup. For more information, check the Sonarr Appdata Directory).
config.xml
<AuthenticationMethod>Oidc</AuthenticationMethod>
<AuthenticationRequired>Enabled</AuthenticationRequired>
<OidcAuthority>https://id.example.com</OidcAuthority>
<OidcClientId>client-id</OidcClientId>
<OidcClientSecret>client-secret</OidcClientSecret>
<OidcUserIdentifier>verified-email@example.com</OidcUserIdentifier>
<TrustedNetworks>trusted-ip-address</TrustedNetworks>
  1. Restart Sonarr.
  2. Click on Login and you will be redirected to Pocket ID for authentication.
  • Check that the Trusted Networks is set correctly in Sonarr, otherwise the login will fail.
  • Check that Allowed Hosts is set correctly in Sonarr
  • Check that the email is verified in Pocket ID.