OpenID Connect
OIDC allows users to sign in with social logins or a third-party identity provider. KitchenOwl supports three providers: Google, Apple (only on iOS & macOS), and a custom one.
For self-hosted instances, the custom provider is the most useful one.
Setup
Inside your OIDC provider you need to configure a new client with the following two redirect URIs:
FRONT_URL(1)/signin/redirectkitchenowl:/signin/redirect
FRONT_URLis the environment variable that exactly matches KitchenOwl's URL including the scheme (e.g.https://app.kitchenowl.org).
KitchenOwl uses the token auth method client_secret_post and requests the following scopes:
openidprofileemail
You can then configure the backend using environment variables by providing your issuer URL, client ID, and client secret:
back:
environment:
# ...
FRONT_URL: <URL> # FRONT_URL is required when using OIDC
OIDC_ISSUER: <URL> # e.g. https://accounts.google.com
OIDC_CLIENT_ID: <ID>
OIDC_CLIENT_SECRET: <SECRET>
If everything is set up correctly you should see a sign in with OIDC button at the bottom of the login page.

Linking accounts
When signing in using OIDC you're either logged into the linked account or, if none is present, a new account is created. Account creation will fail if an email already associated with a KitchenOwl account is provided by the identity provider.
If you've already started using KitchenOwl or created an account first, you can link an OIDC account to your existing KitchenOwl account. Go to Settings click on your profile at the top Linked Accounts and link your account.
Account links are permanent and can only be removed by deleting the KitchenOwl account. Users who signed in using OIDC are normal users who, after setting a password, can also sign in using their username and password. Deleting a user from your OIDC authority will not delete the user from KitchenOwl.
Alternate mobile redirect URI
The mobile redirect URL follows RFC compliance (kitchenowl:/signin/redirect). Some OIDC providers require a triple-slash URL format; you can change this behavior by disabling RFC compliance with the backend environment variable:
back:
environment:
# ...
OIDC_RFC_COMPLIANT_REDIRECT: "false" # default: "true"
This switches the mobile redirect URI to:
kitchenowl:///signin/redirect
Limitations
Currently only Web, Android, iOS, and macOS are supported.
Automatic Login
It is possible to directly launch the OIDC flow from a link with a launch query parameter. Use <FRONT_URL>/signin?launch=custom (e.g. https://app.kitchenowl.org/signin?launch=custom) to start the flow with your custom OIDC provider.
Apple & Google
These two providers allow anyone to sign in with an Apple or Google account. They can be configured similarly to custom providers and will show up with a branded sign-in button.
It is not recommended to set up social logins for self-hosted instances as they might not work correctly.
back:
environment:
# ...
FRONT_URL: <URL> # FRONT_URL is required when using OIDC
APPLE_CLIENT_ID: <ID>
APPLE_CLIENT_SECRET: <SECRET>
GOOGLE_CLIENT_ID: <ID>
GOOGLE_CLIENT_SECRET: <SECRET>
Example: Authelia
Authelia is an open-source authentication and authorization server providing multi-factor authentication and single sign-on (SSO) for your applications via a web portal. It acts as a companion for common reverse proxies.
Place this in your Authelia configuration.yaml to allow KitchenOwl to use Authelia as an OIDC provider:
- id: kitchenowl
description: KitchenOwl
secret: # Same as OIDC_CLIENT_SECRET
public: false
authorization_policy: two_factor # Can also be one_factor if you need less security
pre_configured_consent_duration: 1M # One month - change this to something you desire
audience: []
scopes:
- openid
- email
- profile
redirect_uris:
- https://your.domain.here/signin/redirect # Should match ${FRONT_URL}/signin/redirect
- kitchenowl:/signin/redirect
response_modes:
userinfo_signing_algorithm: none
token_endpoint_auth_method: client_secret_post