Linkding
Sign in to the Linkding bookmark 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
Linkdingand add the callback URLhttps://linkding.example.com/oidc/callback/. - Click Create and copy the Client ID and the Client secret. 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 Linkding
Section titled “Configure Linkding”This example assumes you are using a docker-compose deployment for Linkding. For more details, see the Linkding documentation or, more specifically, the OIDC section.
-
Add the following environment variables to your Linkding
.envfile. Replace<client-id>and<client-secret>with the Client ID and Client secret from Pocket ID. The endpoints are listed in Pocket ID under Show more details (Authorization URL, Token URL, Userinfo URL and Certificate URL).# Enable OIDC in LinkdingLD_ENABLE_OIDC=True# Client credentials from Pocket IDOIDC_RP_CLIENT_ID=<client-id>OIDC_RP_CLIENT_SECRET=<client-secret># OIDC endpointsOIDC_OP_AUTHORIZATION_ENDPOINT=https://id.example.com/authorizeOIDC_OP_TOKEN_ENDPOINT=https://id.example.com/api/oidc/tokenOIDC_OP_USER_ENDPOINT=https://id.example.com/api/oidc/userinfoOIDC_OP_JWKS_ENDPOINT=https://id.example.com/.well-known/jwks.json# Use PKCE if required (adjust based on your setup, True by default)OIDC_USE_PKCE=False# Verify SSL certificate (set to False if using self-signed certificates)OIDC_VERIFY_SSL=True# Optional: Customize the username claim (defaults to email if not set)# OIDC_USERNAME_CLAIM=preferred_username -
Save the changes to your
.envfile and redeploy your Linkding instance using docker-compose.
Once redeployed, you should be able to sign in using OIDC with Pocket ID.