Paperless-ngx
Set up Paperless-ngx with Pocket ID OIDC
Below URLs are used as placeholders for the paperless-ngx and Pocket ID instances. Replace them with the actual URLs.
- paperless-ngx.example.com (The url of your paperless-ngx instance.)
- pocketid.example.com (The url of your Pocket ID instance.)
Pocket ID Setup
- In Pocket ID, create a new OIDC client named
paperless-ngx(or any name you prefer). - (Optional) Set a logo for the OIDC client.
- Set the callback URL to:
https://paperless-ngx.example.com/accounts/oidc/pocket-id/login/callback/, or leave blank to autofill on first login. - Copy the
Client IDandClient Secretfor the next steps.
paperless-ngx Docker Setup
- Add The below environment variables for the paperless-ngx web server container. See the docs for more information. NOTE: The
provider_idvalue, for e.g.pocket-idshould match what is in the callback URL in the Pocket ID configuration described above.
- Restart your docker containers.
- Now you should be able to login to paperless using OAuth.
- To allow for your existing paperless-ngx user ID to be linked to the user in Pocket ID
- Login to paperless-ngx using the password authentication.
- Click on your user name on the top right corner and click My Profile.
- Link the account to Pocket ID using the Connect new social account option.