website/integrations/documentation/kitchenowl/index.md
KitchenOwl is a smart self-hosted grocery list and recipe manager. Easily add items to your shopping list before you go shopping. You can also create recipes and set up meal plans to help you organize your cooking.
The following placeholders are used in this guide:
kitchenowl.company is the FQDN of the KitchenOwl installation.authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
To support the integration of KitchenOwl with authentik, you need to create an application/provider pair in authentik.
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
Strict redirect URIs and set them to https://kitchenowl.company/signin/redirect and kitchenowl:/signin/redirect.Click Submit to save the new application and provider.
To enable OIDC login with KitchenOwl, update your backend environment variables to include the following:
FRONT_URL=https://kitchenowl.company
OIDC_ISSUER=https://authentik.company/application/o/<application_slug>
OIDC_CLIENT_ID=<Client ID from authentik>
OIDC_CLIENT_SECRET=<Client Secret from authentik>
Restart the KitchenOwl backend service for the changes to take effect.
To confirm that authentik is properly configured with KitchenOwl, log out and log back in via authentik. You should see a Sign in with OIDC button at the bottom of the login page. Click on it and ensure you can successfully log in using single sign-on.
When signing in using OIDC, you're either logged into the linked account or, if none exists, a new account is created. The account creation will fail if an email already associated with a KitchenOwl account is provided by the identity management.
If you've already started using KitchenOwl or created an account first, you can link an OIDC account to your existing KitchenOwl account. Navigate to Settings > click your profile at the top right > Linked Accounts and follow the on-screen instructions to link your account.
Account links are permanent and can only be removed by deleting the KitchenOwl account. Users that signed in using OIDC are normal users that, after setting a password, can also sign in using their username and password. Deleting a user from your OIDC authority will not delete a user from KitchenOwl.