website/integrations/documentation/karakeep/index.md
A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full-text search.
The following placeholders are used in this guide:
karakeep.company is the FQDN of the Karakeep 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 Karakeep with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://karakeep.company/api/auth/callback/custom.In Karakeep, you'll need to add these environment variables:
NEXTAUTH_URL=https://karakeep.company
OAUTH_CLIENT_ID=<Client ID from authentik>
OAUTH_CLIENT_SECRET=<Client secret from authentik>
OAUTH_WELLKNOWN_URL=https://authentik.company/application/o/<application_slug>/.well-known/openid-configuration
OAUTH_PROVIDER_NAME=authentik
OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING=true
# Optional: You can add this if you only want to allow login with Authentik
# DISABLE_PASSWORD_AUTH=true
# Optional but highly recommended:
# DISABLE_SIGNUPS=true
Finally, restart the Karakeep server and test your configuration.