website/integrations/media/calibre-web/index.md
Calibre-Web is a web app that offers an interface for browsing, reading, and downloading eBooks using a valid Calibre database.
The following placeholders are used in this guide:
calibreweb.company is the FQDN of the Calibre-Web 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 Calibre-Web with authentik, you need to create an application/provider pair and a corresponding group in authentik.
Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
Choose a Provider type: select LDAP Provider as the provider type.
Configure the Provider: provide a name (or accept the auto-provided name) and set the authorization flow to use for this provider.
Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's My applications page.
Create a group that will grant access to Calibre-Web.
Calibre-Web).Add the users that require access to the newly created group.
Navigate to Directory > Groups and click on the name of the group (e.g. Calibre-Web) that was just created.
Navigate to the Users tab and click Add existing user.
Click +.
Select the user that requires access and click Add.
Click Add.
Use LDAP Authenticationauthentik.company389NoneSimplecn=<authentik_administrator_username>,ou=users,dc=goauthentik,dc=io (e.g. cn=akadmin,ou=users,dc=goauthentik,dc=io)<authentik_administrator_password>dc=ldap,dc=goauthentik,dc=io(&(objectclass=user)(cn=%s))true(&(objectclass=group)(cn=%s))<group_name> (e.g. Calibre-Web)memberAutodetectClick Save.
Navigate to Admin and click Import LDAP Users
Once the user is imported from authentik, click Edit Users and give the user the desired permissions by checking the relevant checkboxes.
To confirm that authentik is properly configured with Calibre-Web, log out and log back in using the credentials of a user that is a member of the LDAP group (e.g. Calibre-Web).