Tandoor Recipes
Sign in to the Tandoor Recipes 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
Tandoor Recipesand add the callback URLhttps://tandoor.example.com/accounts/oidc/pocket-id/login/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 Tandoor Recipes
Section titled “Configure Tandoor Recipes”- Add the following environment variables to your Tandoor setup, for example in the
.envfile. InSOCIALACCOUNT_PROVIDERS, replace<client-id>and<client-secret>with the Client ID and the Client secret from Pocket ID, andid.example.comwith your Pocket ID domain.SOCIAL_PROVIDERS=allauth.socialaccount.providers.openid_connectSOCIALACCOUNT_PROVIDERS='{"openid_connect":{"APPS":[{"provider_id":"pocket-id","name":"Pocket ID","client_id":"<client-id>","secret":"<client-secret>","settings":{"server_url":"https://id.example.com/.well-known/openid-configuration"}}]}}' - Restart Tandoor. The login page now has an option to sign in with Pocket ID. You can also link existing accounts with Pocket ID in your Tandoor profile settings.